runWith<R> method
R
runWith<R>(
- R body()
Runs body with this context installed as the ambient one.
Implementation
R runWith<R>(R Function() body) =>
runZoned(body, zoneValues: {zoneKey: this});