unsaveAlarm static method

Future<void> unsaveAlarm(
  1. int id
)

Removes alarm from local storage.

Implementation

static Future<void> unsaveAlarm(int id) async {
  await _waitUntilInitialized();
  await _prefs.remove('$prefix$id');
}