toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SortOrderType.asc:
      return 'asc';
    case SortOrderType.desc:
      return 'desc';
  }
}