toValue method
Implementation
String toValue() {
switch (this) {
case SortOrder.ascending:
return 'ASCENDING';
case SortOrder.descending:
return 'DESCENDING';
}
}
String toValue() {
switch (this) {
case SortOrder.ascending:
return 'ASCENDING';
case SortOrder.descending:
return 'DESCENDING';
}
}