Dart Documentationchrome.declarativeWebRequestIgnoreRules

IgnoreRules class

Masks all rules that match the specified criteria.

class IgnoreRules extends ChromeObject {
 IgnoreRules({int lowerPriorityThan, String hasTag}) {
   if (lowerPriorityThan != null) this.lowerPriorityThan = lowerPriorityThan;
   if (hasTag != null) this.hasTag = hasTag;
 }
 IgnoreRules.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * If set, rules with a lower priority than the specified value are ignored.
  * This boundary is not persisted, it affects only rules and their actions of
  * the same network request stage.
  */
 int get lowerPriorityThan => jsProxy['lowerPriorityThan'];
 set lowerPriorityThan(int value) => jsProxy['lowerPriorityThan'] = value;

 /**
  * If set, rules with the specified tag are ignored. This ignoring is not
  * persisted, it affects only rules and their actions of the same network
  * request stage. Note that rules are executed in descending order of their
  * priorities. This action affects rules of lower priority than the current
  * rule. Rules with the same priority may or may not be ignored.
  */
 String get hasTag => jsProxy['hasTag'];
 set hasTag(String value) => jsProxy['hasTag'] = value;
}

Extends

ChromeObject > IgnoreRules

Constructors

new IgnoreRules({int lowerPriorityThan, String hasTag}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
IgnoreRules({int lowerPriorityThan, String hasTag}) {
 if (lowerPriorityThan != null) this.lowerPriorityThan = lowerPriorityThan;
 if (hasTag != null) this.hasTag = hasTag;
}

new IgnoreRules.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
IgnoreRules.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

String hasTag #

If set, rules with the specified tag are ignored. This ignoring is not persisted, it affects only rules and their actions of the same network request stage. Note that rules are executed in descending order of their priorities. This action affects rules of lower priority than the current rule. Rules with the same priority may or may not be ignored.

String get hasTag => jsProxy['hasTag'];
set hasTag(String value) => jsProxy['hasTag'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int lowerPriorityThan #

If set, rules with a lower priority than the specified value are ignored. This boundary is not persisted, it affects only rules and their actions of the same network request stage.

int get lowerPriorityThan => jsProxy['lowerPriorityThan'];
set lowerPriorityThan(int value) => jsProxy['lowerPriorityThan'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();