Rule class

Constructors

Rule({required int id, int? priority, required RuleCondition condition, required RuleAction action})
Rule.fromJS(Rule _wrapped)

Properties

action RuleAction
The action to take if this rule is matched.
getter/setter pair
condition RuleCondition
The condition under which this rule is triggered.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
An id which uniquely identifies a rule. Mandatory and should be >= 1.
getter/setter pair
priority int?
Rule priority. Defaults to 1. When specified, should be >= 1.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → Rule
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited