ConditionEvaluation class
Evaluation result for a single policy condition.
Constructors
- ConditionEvaluation({required String ruleId, required bool matched, Decision? decision})
-
const
-
ConditionEvaluation.fromJson(Map<
String, dynamic> json) -
Create from JSON.
factory
Properties
- decision → Decision?
-
Decision produced by this condition (if matched).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- matched → bool
-
Whether the condition matched.
final
- ruleId → String
-
Rule identifier that was evaluated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited