SunnyInjector constructor
SunnyInjector({
- Container? container,
- InjectorInit preInit = _noop,
- InjectorInit postInit = _noop,
Implementation
SunnyInjector({
Container? container,
/// Runs before the main intitialization
this.preInit = _noop,
/// Runs after the main singleton initialization
this.postInit = _noop,
}) : _container = container ?? Container();