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