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