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 promiseToFuture<JSArray>(
$js.chrome.declarativeNetRequest.getDisabledRuleIds(options.toJS));
return $res.toDart.cast<int>().map((e) => e).toList();
}