QueryFilter class

Represents a single filter condition in a query

Constructors

QueryFilter({required String field, required QueryOperator operator, required dynamic value})
const

Properties

field → String
The field name to filter on
final
hashCode → int
The hash code for this object.
no setterinherited
operator → QueryOperator
The operator to use for comparison
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value to compare against
final

Methods

matches(Map<String, dynamic> data) → bool
Evaluates this filter against a data map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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