Rule class

Constructors

Rule({String? id, List<String>? tags, required List<Object> conditions, required List<Object> actions, int? priority})
Rule.fromJS(Rule _wrapped)

Properties

actions List<Object>
List of actions that are triggered if one of the conditions is fulfilled.
getter/setter pair
conditions List<Object>
List of conditions that can trigger the actions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Optional identifier that allows referencing this rule.
getter/setter pair
priority int?
Optional priority of this rule. Defaults to 100.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
Tags can be used to annotate rules and perform operations on sets of rules.
getter/setter pair
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