canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • ends_at: (URLParameter), prefix with a hyphen (-ends_at) to reverse the order
  • starts_at: (URLParameter), prefix with a hyphen (-starts_at) to reverse the order

Implementation

static List<String> get canOrderBy => ['ends_at', 'starts_at'];