GreaterOperator<T extends Object> class final

Greater-than comparison filter.

Primarily used with numeric values and dates.

Supported with: .greater factory method

Inheritance

Constructors

GreaterOperator(FilterField<T> field, Object? value)
Creates a greater-than filter for the specified field and value.
const

Properties

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

Methods

matches(T other) bool
Whether this filter matches the given other instance.
override
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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