toTraceContext method
- @internal
- bool? sampled,
- SpanStatus? status,
- Map<
String, dynamic> ? data,
Implementation
@internal
SentryTraceContext toTraceContext({
bool? sampled,
SpanStatus? status,
Map<String, dynamic>? data,
}) {
return SentryTraceContext(
operation: operation,
traceId: traceId,
spanId: spanId,
description: description,
parentSpanId: parentSpanId,
sampled: sampled,
status: status,
origin: origin,
data: data,
);
}