setExtensionActionOptions method

Future<void> setExtensionActionOptions(
  1. ExtensionActionOptions options
)

Configures if the action count for tabs should be displayed as the extension action's badge text and provides a way for that action count to be incremented.

Implementation

Future<void> setExtensionActionOptions(ExtensionActionOptions options) async {
  await promiseToFuture<void>($js.chrome.declarativeNetRequest
      .setExtensionActionOptions(options.toJS));
}