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({required String field, dynamic isEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, bool? isNull, dynamic arrayContains})

Properties

arrayContains → dynamic
final
field String
final
hashCode int
The hash code for this object.
no setterinherited
isEqualTo → dynamic
final
isGreaterThan → dynamic
final
isGreaterThanOrEqualTo → dynamic
final
isLessThan → dynamic
final
isLessThanOrEqualTo → dynamic
final
isNull bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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