pod<T> abstract method

Future<T> pod<T>(
  1. Class<T> requiredType, {
  2. String? name,
  3. List<ArgumentValue> arguments,
})

Resolves a pod of type T from the context.

  • requiredType specifies the class of the pod.
  • name optionally narrows the resolution to a named pod.
  • arguments can be supplied for parameterized instantiation.

Implementation

Future<T> pod<T>(Class<T> requiredType, {String? name, List<ArgumentValue> arguments});