enable method

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

Enables the browser action for a tab. Defaults to enabled. tabId The ID of the tab for which to modify the browser action.

Implementation

Future<void> enable(int? tabId) async {
  await promiseToFuture<void>($js.chrome.browserAction.enable(tabId));
}