Ordering class

A sort key of Pipeline.sort, created with Expression.ascending or Expression.descending.

Preview, Enterprise only: the Pipelines API is experimental, may change in any release and needs a Firestore Enterprise edition database.

Constructors

Ordering(Expression expression, OrderingDirection direction)
Sorts by expression in direction. Prefer Expression.ascending and Expression.descending.

Properties

direction → OrderingDirection
Whether smaller or larger values come first.
final
expression → Expression
The expression to sort by.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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