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 $js.chrome.action.disable(tabId).toDart;
}