addFactory<T> abstract method
void
addFactory<T>(
- T factory()
Bind the factory to be injected to the type T on the InjectorScope.
Implementation
void addFactory<T>(T Function() factory);