toValue method
Implementation
String toValue() {
switch (this) {
case SortByOrder.asc:
return 'ASC';
case SortByOrder.desc:
return 'DESC';
}
}
String toValue() {
switch (this) {
case SortByOrder.asc:
return 'ASC';
case SortByOrder.desc:
return 'DESC';
}
}