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