cancel method

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

Cancel/remove the notification with the specified id.

This applies to notifications that have been scheduled and those that have already been presented.

Implementation

@override
Future<void> cancel(int id) {
  validateId(id);
  return _channel.invokeMethod('cancel', id);
}