cancelAllNotifications method

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

Cancel all notifications

Implementation

@override
Future<void> cancelAllNotifications() async {
  try {
    await methodChannel.invokeMethod<void>('cancelAllNotifications');
  } on PlatformException catch (e) {
    throw MCPPlatformException(
        'Failed to cancel all notifications', e.code, e.details);
  }
}