value property

String value

Implementation

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