registerWithDependencies<T> method
void
registerWithDependencies<T>(
- ServiceFactory<
T> serviceFactory, - List<
Type> dependencies
override
Register a serviceFactory
with dependencies
The service factory will be called when wire method is called.
Implementation
@override
void registerWithDependencies<T>(
ServiceFactory<T> serviceFactory,
List<Type> dependencies,
) {
_factories[T] = _ServiceWithDependencies(serviceFactory, dependencies);
}