Injector constructor
- List<
Provider> providers, { - InjectorDebugOptions? debugOptions,
- Injector? parent,
Creates a new Injector instance.
Implementation
Injector(List<Provider> providers, {InjectorDebugOptions? debugOptions, Injector? parent})
: _debugOptions = debugOptions ?? parent?._debugOptions ?? InjectorDebugOptions(),
super() {
_resolver = InjectorInjectableResolver(providers, _debugOptions, parentResolver: parent?._resolver);
}