toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TimeRangeType.traceId:
      return 'TraceId';
    case TimeRangeType.event:
      return 'Event';
  }
}