OrderTerm constructor

OrderTerm(
  1. TetherColumn column, {
  2. bool ascending = true,
  3. bool nullsFirst = false,
})

Creates an order term with the specified column and options.

  • column - The column to order by
  • ascending - Whether to sort in ascending order (default: true)
  • nullsFirst - Whether NULL values should appear first (default: false)

Implementation

OrderTerm(this.column, {this.ascending = true, this.nullsFirst = false});