stopAll static method

Future<void> stopAll()

Stops all the alarms.

Implementation

static Future<void> stopAll() async {
  final alarms = AlarmStorage.getSavedAlarms();

  for (final alarm in alarms) {
    await stop(alarm.id);
  }
}