canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • file: (URLParameter), prefix with a hyphen (-file) to reverse the order
  • file_content_type: (URLParameter), prefix with a hyphen (-file_content_type) to reverse the order
  • file_name: (URLParameter), prefix with a hyphen (-file_name) to reverse the order
  • file_size: (URLParameter), prefix with a hyphen (-file_size) to reverse the order
  • value: (URLParameter), prefix with a hyphen (-value) to reverse the order

Implementation

static List<String> get canOrderBy =>
    ['file', 'file_content_type', 'file_name', 'file_size', 'value'];