call<T> method Null safety

T call<T>(
  1. {ParamTransform? transform}
)

Request an instance by Type
transform: Transform a param. This can be used for example to replace an instance with a mock in tests.

Implementation

T call<T>({
  ParamTransform? transform,
}) =>
    get<T>(transform: transform);