OrderConstraint class

Used by buildQuery to define how the results should be ordered. The fields corespond to the possisble parameters of Firestore`s oderby() method. Using OrderConstraint 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

OrderConstraint(String field, bool descending)

Properties

descending bool
final
field String
final
hashCode int
The hash code for this object.
no setterinherited
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