cancel method

  1. @override
Future<void> cancel(
  1. int id
)
override

Cancel a single notification and its respective schedule

Implementation

@override
Future<void> cancel(int id) async {
  _validateId(id);
  await methodChannel.invokeMethod(CHANNEL_METHOD_CANCEL_NOTIFICATION, id);
}