toValue method

String toValue()

Implementation

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