toValue method
Implementation
String toValue() {
switch (this) {
case SearchSortOrder.ascending:
return 'Ascending';
case SearchSortOrder.descending:
return 'Descending';
}
}
String toValue() {
switch (this) {
case SearchSortOrder.ascending:
return 'Ascending';
case SearchSortOrder.descending:
return 'Descending';
}
}