cancelNotification method
Cancel a notification
Implementation
Future<void> cancelNotification(String id) async {
try {
await methodChannel.invokeMethod<void>('cancelNotification', {'id': id});
} on PlatformException catch (e) {
throw MCPPlatformException(
'Failed to cancel notification', e.code, e.details);
}
}