# doCreate abstract method

FutureOr<Object> doCreate(

1. String name,
2. RootPodDefinition definition,
3. List<ArgumentValue>? args

)

Abstract method for creating pod instances that must be implemented by subclasses.

This method is responsible for the actual pod instantiation logic, including:

- Resolving the pod class
- Invoking constructors or provider methods
- Populating properties and dependencies
- Applying post-processors
- Handling initialization callbacks

Usage Example:

    class MyPodFactory extends AbstractPodFactory {
      @override
      FutureOr<Object> doCreate(String name, RootPodDefinition definition, List<ArgumentValue>? args) {
        // Implementation to create the pod instance
        final constructor = definition.constructor;
        final instance = constructor.invoke(args ?? []);

        // Apply property population
        definition.properties.forEach((property) {
          property.applyTo(instance);
        });

        return instance;
      }
    }

`name` the name of the pod to create `definition` the pod definition containing creation instructions `args` optional constructor arguments Returns the created pod instance

Throws PodCreationException if pod creation fails

## Implementation

    FutureOr<Object> doCreate(String name, RootPodDefinition definition, List<ArgumentValue>? args);