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