withBaggage method

Context withBaggage(
  1. Baggage baggage
)

Creates a new context with the given baggage Send an empty baggage to avoid sending any name/value pairs to an untrusted process.

Implementation

Context withBaggage(Baggage baggage) {
  return copyWith(_baggageKey, baggage);
}