# get<T> method

1. @override

Future<T> get<T>(

1. Class<T> type, [
2. List<ArgumentValue>? args

])
override

Retrieves a pod instance by its type with optional arguments.

This method looks up a pod by its class type and returns an instance. It's useful when you want to retrieve pods by type rather than by name.

## Usage Example:

    final service = await factory.get<MyService>();

    // With constructor arguments
    final controller = await factory.get<MyController>([
      ArgumentValue('maxRetries', 3),
      ArgumentValue('enableLogging', true),
    ]);

@param type The class type of the pod to retrieve @param args Optional list of argument values for pod construction @return A Future that completes with the pod instance of type T @throws PodNotFoundException if no pod of the specified type is registered

## Implementation

    @override
    Future<T> get<T>(Class<T> type, [List<ArgumentValue>? args]) async {
      final result = await super.get(type, args);

      return result;
    }