canOrderBy property
possible orderings with parameter ?order=
ends_at
: (URLParameter), prefix with a hyphen (-ends_at) to reverse the orderstarts_at
: (URLParameter), prefix with a hyphen (-starts_at) to reverse the order
Implementation
static List<String> get canOrderBy => ['ends_at', 'starts_at'];