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