toTraceContext method

  1. @internal
SentryTraceContext toTraceContext({
  1. bool? sampled,
  2. SpanStatus? status,
  3. 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,
  );
}