QuerySortBy class

Represents a model field and an order to sort by (ascending or descending), used to specify the order of results from a query operation

Constructors

QuerySortBy({required QuerySortOrder order, required String field})
const

Properties

field String
final
hashCode int
The hash code for this object.
no setterinherited
order QuerySortOrder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compare<T extends Model>(T a, T b) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializeAsMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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