toTimeRangeType method
Implementation
TimeRangeType toTimeRangeType() {
switch (this) {
case 'TraceId':
return TimeRangeType.traceId;
case 'Event':
return TimeRangeType.event;
}
throw Exception('$this is not known in enum TimeRangeType');
}