SortDirection class
The available sort directions.
Constructors
- SortDirection(dynamic id, dynamic jsonValue)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
finalinherited
Methods
-
matches(
ValueEnum other) → bool -
inherited
-
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
Static Properties
- ascending ↔ SortDirection
-
Sort in ascending order.
getter/setter pair
- descending ↔ SortDirection
-
Sort in descending order.
getter/setter pair
Static Methods
-
asString(
SortDirection? sortDirection) → String? - Get the String representation of a SortDirection.
-
fromString(
String? value) → SortDirection? - Get the SortDirection from a String.