cancelSchedule method

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

Cancel a single scheduled notification, without dismiss the active notification

Implementation

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