cancelAllScheduledNotifications method
Cancel all scheduled notifications
Implementation
@override
Future<bool> cancelAllScheduledNotifications() async {
try {
final result = await methodChannel.invokeMethod<bool>('cancelAllScheduledNotifications');
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Error canceling all scheduled notifications: ${e.message}');
return false;
}
}