parentContext property

Context get parentContext

Parent Context for child spans of this image load.

Rooted deliberately: the image span already carries its own parent (an action window, when one was open), and deriving from Context.current would inherit whatever unrelated context happens to be active.

Implementation

Context get parentContext => contextWithSpan(Context.root, span);