# get method

1. @override

FutureOr<ObjectHolder<T>> get([

1. List<ArgumentValue>? args

])
override

Returns an instance of the object managed by this factory.

May throw a PodException if the object could not be created or retrieved.

## Implementation

    @override
    FutureOr<ObjectHolder<T>> get([List<ArgumentValue>? args]) async {
      final result = await scope.get(name, fallbackFactory as ObjectFactory<Object>);
      return ObjectHolder<T>(result.getValue() as T, qualifiedName: result.getQualifiedName(), packageName: result.getPackageName());
    }