OrderingTerm constructor

OrderingTerm({
  1. required Expression<Object> expression,
  2. OrderingMode mode = OrderingMode.asc,
  3. NullsOrder? nulls,
})

Creates an ordering term by the expression, the mode (defaults to ascending) and the nulls.

Implementation

OrderingTerm({
  required this.expression,
  this.mode = OrderingMode.asc,
  this.nulls,
});