resetBadge method

Future<void> resetBadge()

Clears the badge on iOS. Badging is not supported for Android.

Implementation

Future<void> resetBadge() async {
  if (!Platform.isIOS) {
    return Future.value();
  }
  return await _module.channel.invokeMethod('push#ios#resetBadgeNumber');
}