toProjectSortOrder method

ProjectSortOrder toProjectSortOrder()

Implementation

ProjectSortOrder toProjectSortOrder() {
  switch (this) {
    case 'Ascending':
      return ProjectSortOrder.ascending;
    case 'Descending':
      return ProjectSortOrder.descending;
  }
  throw Exception('$this is not known in enum ProjectSortOrder');
}