getEnabledRulesets method
Returns the ids for the current set of enabled static rulesets. |callback|: Called with a list of ids, where each id corresponds to an enabled static Ruleset.
Implementation
Future<List<String>> getEnabledRulesets() async {
var $res = await promiseToFuture<JSArray>(
$js.chrome.declarativeNetRequest.getEnabledRulesets());
return $res.toDart.cast<String>().map((e) => e).toList();
}