toValue method
Implementation
String toValue() {
switch (this) {
case ResourceSortType.date:
return 'DATE';
case ResourceSortType.name:
return 'NAME';
}
}
String toValue() {
switch (this) {
case ResourceSortType.date:
return 'DATE';
case ResourceSortType.name:
return 'NAME';
}
}