cancel method

Future<void> cancel(
  1. int id
)

Cancel a specific notification by ID.

Implementation

Future<void> cancel(int id) async {
  await _plugin.cancel(id);
}