SetMembershipRule class final

Evaluates SetMembershipEligibility conditions.

Checks if a value from context is present in the allowed set.

Implemented types

Constructors

SetMembershipRule()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate(SetMembershipEligibility eligibility, Map<String, dynamic> context) Future<bool>
Evaluates the eligibility condition against the context.
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