canOrderBy property
possible orderings with parameter ?order=
created_at
: (URLParameter), prefix with a hyphen (-created_at) to reverse the orderitem_count
: (URLParameter), prefix with a hyphen (-item_count) to reverse the ordername
: (URLParameter), prefix with a hyphen (-name) to reverse the ordernote_count
: (URLParameter), prefix with a hyphen (-note_count) to reverse the orderteam_count
: (URLParameter), prefix with a hyphen (-team_count) to reverse the orderupdated_at
: (URLParameter), prefix with a hyphen (-updated_at) to reverse the order
Implementation
static List<String> get canOrderBy => [
'created_at',
'item_count',
'name',
'note_count',
'team_count',
'updated_at'
];