cancel method

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

Cancels/removes 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({required int id}) async {}