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