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