toTraceContext method

  1. @internal
SentryTraceContext toTraceContext({
  1. bool? sampled,
  2. SpanStatus? status,
})

Implementation

@internal
SentryTraceContext toTraceContext({
  bool? sampled,
  SpanStatus? status,
}) {
  return SentryTraceContext(
    operation: operation,
    traceId: traceId,
    spanId: spanId,
    description: description,
    parentSpanId: parentSpanId,
    sampled: sampled,
    status: status,
  );
}