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