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. [...]
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. [...]
@pragma("vm:entry-point"), inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited