canOrderBy property
possible orderings with parameter ?order=
address
: (URLParameter), prefix with a hyphen (-address) 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 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 =>
['address', 'created_at', 'location', 'primary', 'updated_at'];