cancelAllScheduledNotifications method

  1. @override
Future<bool> cancelAllScheduledNotifications()
override

Cancel every notification that was scheduled through scheduleNotification.

Implementation

@override
Future<bool> cancelAllScheduledNotifications() async {
  final result = await methodChannel.invokeMethod<bool>(
    'cancelAllScheduledNotifications',
  );
  return result ?? false;
}