resolveHostContext top-level property

TestContext? Function()? resolveHostContext
getter/setter pair

Optional runner hook that returns the pin for the host's current test.

Used by package:test / flutter_test under --concurrency, where several LiveTests share one isolate and the isolate-wide pin would race. Cleared when reporting ends. Zone pins from runWithContext still win.

Implementation

TestContext? Function()? resolveHostContext;