canOrderBy property
possible orderings with parameter ?order=
created_at
: (URLParameter), prefix with a hyphen (-created_at) to reverse the orderlocked
: (URLParameter), prefix with a hyphen (-locked) to reverse the ordername
: (URLParameter), prefix with a hyphen (-name) to reverse the orderorganization_id
: (URLParameter), prefix with a hyphen (-organization_id) to reverse the orderupdated_at
: (URLParameter), prefix with a hyphen (-updated_at) to reverse the order
Implementation
static List<String> get canOrderBy =>
['created_at', 'locked', 'name', 'organization_id', 'updated_at'];