cancelAllNotifications method
Cancel all notifications
Implementation
@override
Future<void> cancelAllNotifications() async {
try {
await methodChannel.invokeMethod<void>('cancelAllNotifications');
} on PlatformException catch (e) {
throw Exception('Failed to cancel all notifications: ${e.message}');
}
}