dynamic runInContext(IoCContainer container, dynamic body())

Source

dynamic/*=T*/ runInContext/*<T>*/(IoCContainer container, dynamic/*=T*/ body()) {
  return runZoned(body, zoneValues: {
    _contextZoneValueKey: new HttpContext({
      '__container': container
    })
  }) as dynamic/*=T*/;
}