Condition class abstract

An abstract class representing a condition.

A condition is a logical expression that evaluates to true or false. The condition can be a simple comparison or a complex expression. The condition can have one or more operands. The operands can be other conditions or values.

Constructors

Condition.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
operator String
The name of the condition.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate(List operands, RuleContext context) bool
Evaluate the condition with the given operands and context.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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