cancelAll method

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

Cancels all active notifications and schedules.

This method returns a Future that resolves when all active notifications and schedules have been cancelled.

Implementation

@override
Future<void> cancelAll() async {
  await methodChannel.invokeMethod(CHANNEL_METHOD_CANCEL_ALL_NOTIFICATIONS);
}