RuleSetRule class

Constructors

RuleSetRule({Input<List<RuleSetRuleAction>?>? actions, Input<List<RuleSetRuleCondition>?>? conditions, Input<String?>? name, Input<List<RuleSetRuleUnless>?>? unlesses})
Creates a new RuleSetRule. actions One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block. conditions One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block. name Name of the rule. unlesses One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
const
RuleSetRule.fromMap(Map<String, dynamic> map)
factory

Properties

actions → Input<List<RuleSetRuleAction>?>?
One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
final
conditions → Input<List<RuleSetRuleCondition>?>?
One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the rule.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unlesses → Input<List<RuleSetRuleUnless>?>?
One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
final

Methods

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

Operators

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