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