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