canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

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

Implementation

static List<String> get canOrderBy => ['time'];