ApiQuerySorting class

The ApiQuerySorting class represents a sorting query for an API with a specified property and order.

Constructors

ApiQuerySorting({required String property, required ApiQuerySortingOrder order})

Properties

hashCode → int
The hash code for this object.
no setterinherited
order ↔ ApiQuerySortingOrder
getter/setter pair
property ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() → Map
This function returns a map with the property and order values as key-value pairs.
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