toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OrderBy.logStreamName:
      return 'LogStreamName';
    case OrderBy.lastEventTime:
      return 'LastEventTime';
  }
}