run<O> method
O
run<O>(
- O fn()
Runs the provided function inside the session's context.
Implementation
O run<O>(O Function() fn) =>
runZoned(fn, zoneValues: {_sessionZoneKey: this});
Runs the provided function inside the session's context.
O run<O>(O Function() fn) =>
runZoned(fn, zoneValues: {_sessionZoneKey: this});