cancelAll method

Future<void> cancelAll()

Cancels all active and scheduled notifications.

Example:

await notifications.cancelAll();

Implementation

Future<void> cancelAll() async {
  try {
    await _plugin.cancelAll();
    logger.info('BloomNotifications: Cancelled all notifications.');
  } catch (_) {}
}