auto_injector library

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 the get() method.

BindConfig<T>
Injector
Register and get binds
LayersGraph
NamedParam
Param
PositionalParam

Functions

changeParam<T>(T newValue) ParamTransform

Typedefs

ParamTransform = Param? Function(Param param)

Exceptions / Errors

AutoInjectorException
AutoInjection Exception with ToString auto configured
message : message of exception
stackTrace : traces of exception
InjectorAlreadyCommited
AutoInjecton Exception for Injector Already Commited.
Store all parent classNames message : message of exception
stackTrace : traces of exception
injectorTag : tag of the current injector
UnregisteredInstance
AutoInjection Exception for Unregistered instance.
Store all parent classNames message : message of exception
stackTrace : traces of exception
classNames : all parent class names
UnregisteredInstanceByKey
AutoInjection Exception for Unregistered instance.
Store all parent classNames message : message of exception
stackTrace : traces of exception