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