Ordering.type constructor

const Ordering.type(
  1. String customType,
  2. String field, {
  3. @Default(false) bool descending,
})

Custom type Ordering constructor

Implementation

const factory Ordering.type(
  String customType,
  String field, {
  @Default(false) bool descending,
}) = TypeOrdering;