cancel method

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

id — see scheduleNext's own doc for what it lets a caller do.

Implementation

Future<void> cancel({int id = 0}) async {
  try {
    await _ensureInit();
    await _plugin.cancel(id: id);
  } catch (e) {
    dlog('ReminderService.cancel failed: $e');
  }
}