enable method

Future<void> enable(
  1. int? tabId
)

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));
}