getDisabledRuleIds method
Returns the list of static rules in the given Ruleset that are currently disabled. |options|: Specifies the ruleset to query. |callback|: Called with a list of ids that correspond to the disabled rules in that ruleset.
Implementation
Future<List<int>> getDisabledRuleIds(
GetDisabledRuleIdsOptions options) async {
var $res = await $js.chrome.declarativeNetRequest
.getDisabledRuleIds(options.toJS)
.toDart;
return $res.toDart.cast<JSNumber>().map((e) => e.toDartInt).toList();
}