inject<T> method
Implementation
T inject<T>({final Map<String, dynamic>? parameters}) {
for (final module in _modules) {
module
..internalGet = _dispatchInject
..parameters = parameters ?? <String, dynamic>{};
}
final instance = _dispatchInject<T>();
for (final module in _modules) {
module
..internalGet = null
..parameters = <String, dynamic>{};
}
return instance;
}