canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • check_in_count: (URLParameter), prefix with a hyphen (-check_in_count) to reverse the order
  • first_name: (URLParameter), prefix with a hyphen (-first_name) to reverse the order
  • last_checked_in_at: (URLParameter), prefix with a hyphen (-last_checked_in_at) to reverse the order
  • last_name: (URLParameter), prefix with a hyphen (-last_name) to reverse the order

Implementation

static List<String> get canOrderBy =>
    ['check_in_count', 'first_name', 'last_checked_in_at', 'last_name'];