canOrderBy property
possible orderings with parameter ?order=
created_at
: (URLParameter), prefix with a hyphen (-created_at) to reverse the orderfrom_address
: (URLParameter), prefix with a hyphen (-from_address) to reverse the ordermessage_count
: (URLParameter), prefix with a hyphen (-message_count) to reverse the ordermessage_type
: (URLParameter), prefix with a hyphen (-message_type) to reverse the ordersubject
: (URLParameter), prefix with a hyphen (-subject) to reverse the ordersystem_message
: (URLParameter), prefix with a hyphen (-system_message) to reverse the orderuuid
: (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'
];