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