toAlgorithmSortBy method

AlgorithmSortBy toAlgorithmSortBy()

Implementation

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