instantiateSingletonBinds method
- @mustCallSuper
inherited
Implementation
@mustCallSuper
void instantiateSingletonBinds(
List<SingletonBind> singletons, Injector injector) {
final filteredList =
_binds.where((bind) => !bind.isLazy && !_containBind(singletons, bind));
for (final bindElement in filteredList) {
var b = bindElement.factoryFunction(injector);
if (!_singletonBinds.containsKey(b.runtimeType)) {
_singletonBinds[b.runtimeType] =
SingletonBind(value: b, bind: bindElement);
}
}
}