EqualOperator<F extends FilterField, V extends Object?> class
final
A comparison filter that matches values equal to the specified value.
Performs exact equality matching between the field value and the provided comparison value. Supports all data types including strings, numbers, booleans, and null values.
Supported with: .equal
factory method
- Inheritance
-
- Object
- Filter<
F> - ComparisonOperator<
F, V> - EqualOperator
Constructors
- EqualOperator.new(F field, V value)
-
Creates an equality filter for the specified
field
andvalue
.const
Properties
- field → F
-
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 → V
-
The value to compare the field against.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Converts this filter to a JSON representation for API queries.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited