factoryMethod property

FactoryMethodDesign factoryMethod
getter/setter pairinherited

The factory method used to create this pod.

Describes a factory method used to create a pod (component).

This includes the name of the pod and the method name that acts as the factory.

Example

final factory = FactoryMethodDesign("UserPod", "createUser");

print(factory.podName); // "UserPod"
print(factory.methodName); // "createUser"

Implementation

FactoryMethodDesign factoryMethod;