disable method

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

Disables the action for a tab. tabId The id of the tab for which you want to modify the action.

Implementation

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