ChromeEvents class
class ChromeEvents extends ChromeApi { static final JsObject _events = chrome['events']; ChromeEvents._(); bool get available => _events != null; void _throwNotAvailable() { throw new UnsupportedError("'chrome.events' is not available"); } }
Extends
ChromeApi > ChromeEvents
Properties
final bool available #
Returns true if the API is available. The common causes of an API not being avilable are:
- a permission is missing in the application's manifest.json file
- the API is defined on a newer version of Chrome then the current runtime
docs inherited from ChromeApi
bool get available => _events != null;