isEnabled method
Indicates whether the extension action is enabled for a tab (or globally
if no tabId
is provided). Actions enabled using only
declarativeContent
always return false.
tabId
The id of the tab for which you want check enabled status.
Implementation
Future<bool> isEnabled(int? tabId) async {
var $res = await promiseToFuture<bool>($js.chrome.action.isEnabled(tabId));
return $res;
}