enable method
Enables the action for a tab. By default, actions are enabled.
tabId
The id of the tab for which you want to modify the action.
Implementation
Future<void> enable(int? tabId) async {
await promiseToFuture<void>($js.chrome.action.enable(tabId));
}