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