canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • carrier: (URLParameter), prefix with a hyphen (-carrier) to reverse the order
  • created_at: (URLParameter), prefix with a hyphen (-created_at) to reverse the order
  • location: (URLParameter), prefix with a hyphen (-location) to reverse the order
  • number: (URLParameter), prefix with a hyphen (-number) to reverse the order
  • primary: (URLParameter), prefix with a hyphen (-primary) to reverse the order
  • updated_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'];