get method
Retrieves details about the specified alarm. |name|: The name of the alarm to get. Defaults to the empty string.
Implementation
Future<Alarm?> get(String? name) async {
var $res = await promiseToFuture<$js.Alarm?>($js.chrome.alarms.get(name));
return $res?.let(Alarm.fromJS);
}