cancelAll method

Future<void> cancelAll()

Cancels/removes all notifications.

This applies to notifications that have been scheduled and those that have already been presented.

Implementation

Future<void> cancelAll() async {
  await FlutterLocalNotificationsPlatform.instance.cancelAll();
}