toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OrderBy.timestampAscending:
      return 'TimestampAscending';
    case OrderBy.timestampDescending:
      return 'TimestampDescending';
  }
}