RuleSetRule constructor

const RuleSetRule({
  1. Input<List<RuleSetRuleAction>?>? actions,
  2. Input<List<RuleSetRuleCondition>?>? conditions,
  3. Input<String?>? name,
  4. 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.

Implementation

const RuleSetRule({
  this.actions,
  this.conditions,
  this.name,
  this.unlesses,
});