zam_factory_pattern 0.3.0 zam_factory_pattern: ^0.3.0 copied to clipboard
Provides utilities to implement the factory pattern which deals with the problem of creating objects.
Factory Pattern #
Provides utilities to implement the factory pattern which deals with the problem of creating objects.
What's inside the package #
Includes the following core components.
Check out all the components in detail here
How to use #
final hondaFactory = HondaFactory({
HondaCity: () => HondaCity(),
HondaCivic: () => HondaCivic(),
HondaAccord: () => HondaAccord(),
});
To learn more, move on to the example section or check out these dedicated examples in github.