cancelNotification static method

Future<void> cancelNotification(
  1. int id, {
  2. String? tag,
})

Cancel a notification

Implementation

static Future<void> cancelNotification(int id, {String? tag}) async {
  await _localNotifications.cancel(id, tag: tag);
}