AllOfRule class final
Evaluates AllOfEligibility conditions (AND combinator).
Requires an EligibilityResolver to recursively evaluate nested conditions.
- Implemented types
Constructors
-
AllOfRule(List<
EligibilityRule< rules)Eligibility> > -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rules
→ List<
EligibilityRule< Eligibility> > -
Rules to use for evaluating nested conditions.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
evaluate(
AllOfEligibility eligibility, Map< String, dynamic> context) → Future<bool> -
Evaluates the
eligibilitycondition against thecontext.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
supports(
Eligibility eligibility) → bool -
Returns true if this rule can evaluate the given
eligibility.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited