OrderBy class

Order the queried data in ascending or descending order. Provide the field that the data is needed to ordered with. descending will determine the order.

Same as Query.orderBy. Look at firestore documentation for more.

Implemented types

Constructors

OrderBy(String _field, {bool descending = false})
Order the queried data in ascending or descending order. Provide the field that the data is needed to ordered with. descending will determine the order.

Properties

descending bool
If descending is true, the documents will be ordered in descending order and in ascending order otherwise.
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
transform(Query<Object?> q) → Query<Object?>
Override this method to implement the way you want to transform the given Query q.
override

Operators

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