# autowire abstract method

Future<Object> autowire(

1. Class podClass,
2. int autowireMode,
3. bool checkDependency

)

Creates and autowires a new pod instance from a class.

This method combines instance creation and dependency injection in a single operation.

## Usage Example:

    final pod = await factory.autowire(
      Class<ComplexService>(),
      AutowireMode.byType,
      true,
    );

@param podClass The class of the pod to create and autowire @param autowireMode The autowiring mode to use @param checkDependency Whether to check dependency validity @return A Future that completes with the autowired pod instance

## Implementation

    Future<Object> autowire(Class podClass, int autowireMode, bool checkDependency);