currentImageLoadContext function

Context? currentImageLoadContext()

The image.load parent Context for the current zone, or null when no instrumented image load is in scope.

Implementation

Context? currentImageLoadContext() =>
    Zone.current[imageLoadContextZoneKey] as Context?;