toValue method

String toValue()

Implementation

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