toValue method

String toValue()

Implementation

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