cancelAll static method

Future<void> cancelAll()

Implementation

static Future<void> cancelAll() async {
  for (final Timer t in _timers.values) {
    t.cancel();
  }
  _timers.clear();
  if (UStorage.isReady) await UStorage.remove(_storeKey);
  if (kIsWeb) return UNotificationWeb.cancelAll();
  await _call<void>("cancelAll");
}