auto_injector library Null safety
Support for doing something awesome.
More dartdocs go here.
Classes
- AutoInjector
-
Automatic Dependency Injection System, but without build_runner :)
[tag]
: AutoInject instance identity.
[on]
: Helps with instance registration.
[paramObservers]
: List of functions that listen and transform parameters while they are being parsed when requested by theget()
method.
- NamedParam
- Param
- PositionalParam
Functions
-
changeParam<
T> (T newValue) → ParamTransform
Typedefs
- ParamTransform = Param? Function(Param param)
Exceptions / Errors
- AutoInjectorException
-
AutoInjecton Exception with ToString auto configurated
message: message of exception
stackTrace: traces of exception - UnregisteredInstance
-
AutoInjecton Exception for Unregistered instance.
Store all parent classNames message: message of exception
stackTrace: traces of exception classNames: all parent class names