QueryConstraint class

Used by buildQuery and getDataInArea to define a list of constraints. Important besides the field property not more than one of the others can ne !=null. They corespond to the possisble parameters of Firestore`s where() method. Using QueryConstraint almost always requires to create an index for this field. Check your debug output for a message from FireStore with a link to create them

Constructors

QueryConstraint({String field, dynamic isEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, bool isNull })

Properties

field → String
final
isEqualTo → dynamic
final
isGreaterThan → dynamic
final
isGreaterThanOrEqualTo → dynamic
final
isLessThan → dynamic
final
isLessThanOrEqualTo → dynamic
final
isNull → bool
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited