value property

String get value

Implementation

String get value {
  if (sampled != null) {
    final sampled = this.sampled! ? '1' : '0';
    return '$traceId-$spanId-$sampled';
  } else {
    return '$traceId-$spanId';
  }
}