canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

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

Implementation

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