# FactoryMethodDesign constructor

FactoryMethodDesign(

1. String podName,
2. String methodName, [
3. Class? factoryType

])

Creates a FactoryMethodDesign for the given `podName` and `methodName`.

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(this.podName, this.methodName, [this.factoryType]);