resetGlobalBadge method

  1. @override
Future<void> resetGlobalBadge()
override

Resets the global badge counter to zero. This removes any badge icon from the app icon in the launcher. Note that resetting the badge counter does not cancel any scheduled or active notifications.

This method returns a Future that completes when the badge counter has been reset.

Implementation

@override
Future<void> resetGlobalBadge() {
  return AwesomeNotificationsPlatform.instance.resetGlobalBadge();
}