canOrderBy property
possible orderings with parameter ?order=
batch_completed_at
: (URLParameter), prefix with a hyphen (-batch_completed_at) to reverse the ordercampus_id
: (URLParameter), prefix with a hyphen (-campus_id) to reverse the ordercreated_at
: (URLParameter), prefix with a hyphen (-created_at) to reverse the orderlist_category_id
: (URLParameter), prefix with a hyphen (-list_category_id) to reverse the ordername
: (URLParameter), prefix with a hyphen (-name) to reverse the ordername_or_description
: (URLParameter), prefix with a hyphen (-name_or_description) to reverse the orderupdated_at
: (URLParameter), prefix with a hyphen (-updated_at) to reverse the order
Implementation
static List<String> get canOrderBy => [
'batch_completed_at',
'campus_id',
'created_at',
'list_category_id',
'name',
'name_or_description',
'updated_at'
];