Span_Link constructor
Span_Link({})
Implementation
factory Span_Link({
$core.List<$core.int>? traceId,
$core.List<$core.int>? spanId,
$core.String? traceState,
$core.Iterable<$1.KeyValue>? attributes,
$core.int? droppedAttributesCount,
$core.int? flags,
}) {
final $result = create();
if (traceId != null) {
$result.traceId = traceId;
}
if (spanId != null) {
$result.spanId = spanId;
}
if (traceState != null) {
$result.traceState = traceState;
}
if (attributes != null) {
$result.attributes.addAll(attributes);
}
if (droppedAttributesCount != null) {
$result.droppedAttributesCount = droppedAttributesCount;
}
if (flags != null) {
$result.flags = flags;
}
return $result;
}