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