requestScopedFactory<T extends Object> method

  1. @override
T Function()? requestScopedFactory<T extends Object>()
override

Forwarded so the per-request container can find request-scoped registrations through this wrapper.

Implementation

@override
T Function()? requestScopedFactory<T extends Object>() {
  if (_di case final RequestScopedRegistry registry) {
    return registry.requestScopedFactory<T>();
  }

  return null;
}