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