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