ServiceInject<T> constructor
ServiceInject<T> (
- T creationFunction(), {
- bool lazy = true,
Implementation
ServiceInject(this.creationFunction, {this.lazy = true}) {
if (!lazy) _singleton = creationFunction();
}