cancel method

Future<void> cancel({
  1. required int id,
})

Cancels/removes the notification with the specified id.

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

Implementation

Future<void> cancel({required int id}) async {
  throw UnimplementedError('cancel() has not been implemented');
}