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