canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • last_updated: (URLParameter), prefix with a hyphen (-last_updated) to reverse the order
  • name: (URLParameter), prefix with a hyphen (-name) to reverse the order

Implementation

static List<String> get canOrderBy => ['last_updated', 'name'];