toSortPipelinesBy method

SortPipelinesBy toSortPipelinesBy()

Implementation

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