getAll method

Future<List<Alarm>> getAll()

Gets an array of all the alarms.

Implementation

Future<List<Alarm>> getAll() async {
  var $res = await promiseToFuture<JSArray>($js.chrome.alarms.getAll());
  return $res.toDart.cast<$js.Alarm>().map((e) => Alarm.fromJS(e)).toList();
}