ComparisonOperator<T extends Object> class sealed

Base class for comparison-based filter operations.

Supports equality, greater-than, less-than, and their variants.

Inheritance

Properties

field FilterField<T>
The field being compared in this filter operation.
final
hashCode int
The hash code for this object.
no setterinherited
operator FilterOperator
The comparison operator used for this filter.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object?
The value to compare the field against.
final

Methods

matches(T other) bool
Whether this filter matches the given other instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Converts this filter to JSON format for API queries.
override
toString() String
A string representation of this object.
inherited

Operators

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