clear method

Future<bool> clear(
  1. String? name
)

Clears the alarm with the given name. |name|: The name of the alarm to clear. Defaults to the empty string.

Implementation

Future<bool> clear(String? name) async {
  var $res = await promiseToFuture<bool>($js.chrome.alarms.clear(name));
  return $res;
}