addBaggageHeaderFromSpan function
void
addBaggageHeaderFromSpan(
- ISentrySpan span,
- Map<
String, dynamic> headers, { - SentryLogger? logger,
Implementation
void addBaggageHeaderFromSpan(
ISentrySpan span,
Map<String, dynamic> headers, {
SentryLogger? logger,
}) {
final baggage = span.toBaggageHeader();
if (baggage != null) {
addBaggageHeader(baggage, headers, logger: logger);
}
}