canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • created_at: (URLParameter), prefix with a hyphen (-created_at) to reverse the order
  • from_address: (URLParameter), prefix with a hyphen (-from_address) to reverse the order
  • message_count: (URLParameter), prefix with a hyphen (-message_count) to reverse the order
  • message_type: (URLParameter), prefix with a hyphen (-message_type) to reverse the order
  • subject: (URLParameter), prefix with a hyphen (-subject) to reverse the order
  • system_message: (URLParameter), prefix with a hyphen (-system_message) to reverse the order
  • uuid: (URLParameter), prefix with a hyphen (-uuid) to reverse the order

Implementation

static List<String> get canOrderBy => [
      'created_at',
      'from_address',
      'message_count',
      'message_type',
      'subject',
      'system_message',
      'uuid'
    ];