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';
}
}