effectiveContext property
Explicit carriers replace the legacy manager's context while registered.
Implementation
Map<String, dynamic> get effectiveContext {
final scope = Zone.current[_propagationScopeKey];
if (scope != null && !identical(scope, _propagationEpoch)) return const {};
final propagator = _propagator;
if (propagator != null) {
return propagator.getTransactionContext()?.toProviderContext() ??
const {};
}
return currentContext?.effectiveAttributes ?? const {};
}