toValue method
Implementation
String toValue() {
switch (this) {
case ModelPackageSortBy.name:
return 'Name';
case ModelPackageSortBy.creationTime:
return 'CreationTime';
}
}
String toValue() {
switch (this) {
case ModelPackageSortBy.name:
return 'Name';
case ModelPackageSortBy.creationTime:
return 'CreationTime';
}
}