OrderBy class final

An object that represents an ordering in a query's order by clause.

Implemented types

Constructors

OrderBy({String fieldName = '', SortOrder sortOrder = SortOrder.ascending})
Creates a new order by object.
factory

Properties

fieldName String
The field name of the field being ordered by.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortOrder SortOrder
The order that should be applied.
getter/setter pair

Methods

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