canOrderBy property
possible orderings with parameter ?order=
carrier
: (URLParameter), prefix with a hyphen (-carrier) to reverse the ordercreated_at
: (URLParameter), prefix with a hyphen (-created_at) to reverse the orderlocation
: (URLParameter), prefix with a hyphen (-location) to reverse the ordernumber
: (URLParameter), prefix with a hyphen (-number) to reverse the orderprimary
: (URLParameter), prefix with a hyphen (-primary) to reverse the orderupdated_at
: (URLParameter), prefix with a hyphen (-updated_at) to reverse the order
Implementation
static List<String> get canOrderBy =>
['carrier', 'created_at', 'location', 'number', 'primary', 'updated_at'];