OrderType enum Null safety

Defines the sort type used for all query methods.

Constants

ASC_OR_SMALLER → const OrderType

ASC_OR_SMALLER will return list in alphabetical order or smaller number.

ASC = Ascending Order

const OrderType(0)
DESC_OR_GREATER → const OrderType

DESC_OR_GREATER will return list in "alphabetical-inverted" order or greater number.

DESC = Descending Order

const OrderType(1)
values → const List<OrderType>

A constant List of the values in this enum, in order of their declaration.

const List<OrderType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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