addSentryTraceHeaderFromSpan function

void addSentryTraceHeaderFromSpan(
  1. ISentrySpan span,
  2. Map<String, dynamic> headers
)

Implementation

void addSentryTraceHeaderFromSpan(
    ISentrySpan span, Map<String, dynamic> headers) {
  final traceHeader = span.toSentryTrace();
  headers[traceHeader.name] = traceHeader.value;
}