CompositeFactory constructor
Creates a new instance of the factory.
- factories a list of factories to embed into this factory.
Implementation
CompositeFactory(List<IFactory>? factories) {
if (factories != null) {
_factories.addAll(factories);
}
}