cancelScheduledNotification method
Cancel a previously scheduled notification by its id.
Implementation
@override
Future<bool> cancelScheduledNotification(int id) async {
final result = await methodChannel.invokeMethod<bool>(
'cancelScheduledNotification',
{'id': id},
);
return result ?? false;
}