toProjectSortBy method

ProjectSortBy toProjectSortBy()

Implementation

ProjectSortBy toProjectSortBy() {
  switch (this) {
    case 'Name':
      return ProjectSortBy.name;
    case 'CreationTime':
      return ProjectSortBy.creationTime;
  }
  throw Exception('$this is not known in enum ProjectSortBy');
}