runAsService<T> method
T
runAsService<T>(
- T delegate()
Implementation
T runAsService<T>(T Function() delegate) {
return runZoned(
delegate,
zoneSpecification: ZoneSpecification(print: _print),
zoneValues: {#serviceResolver: this},
);
}