call<T> method

T call<T>({
  1. ParamTransform? transform,
  2. String? key,
})
inherited

Request an instance by Type
transform: Transform a param. This can be used for example to replace an instance with a mock in tests.
When key is provided it will search the instance that have the same key

Implementation

T call<T>({ParamTransform? transform, String? key}) {
  return get<T>(transform: transform, key: key);
}