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