getAvailableStaticRuleCount method

Future<int> getAvailableStaticRuleCount()

Returns the number of static rules an extension can enable before the global static rule limit is reached.

Implementation

Future<int> getAvailableStaticRuleCount() async {
  var $res = await promiseToFuture<int>(
      $js.chrome.declarativeNetRequest.getAvailableStaticRuleCount());
  return $res;
}