factory<T> method
Implementation
void factory<T>(Definition<T> definition, {Qualifier? qualifier}) {
final BeanDefinition<T> def =
Definitions.createFactory(rootScope, qualifier, definition);
definitions.add(def);
}
void factory<T>(Definition<T> definition, {Qualifier? qualifier}) {
final BeanDefinition<T> def =
Definitions.createFactory(rootScope, qualifier, definition);
definitions.add(def);
}