toModelPackageGroupSortBy method

ModelPackageGroupSortBy toModelPackageGroupSortBy()

Implementation

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