inject abstract method
Injects the given SpanContext instance for cross-process propagation
within carrier
. The expected type of carrier
depends on the value of
`format.
- Throws InvalidCarrierFormatError if the format is invalid or unsupported
OpenTracing defines a common set of format
values (see
formatTextMap, formatHttpHeaders, and formatBinary), and each has
an expected carrier type.
Implementation
void inject(SpanContext spanContext, String format, dynamic carrier);