call<T extends Object> method

T call<T extends Object>({
  1. String? instanceName,
  2. dynamic param1,
  3. dynamic param2,
})

Callable class so that you can write GetIt.instance<MyType> instead of GetIt.instance.get<MyType>

Implementation

T call<T extends Object>(
        {String? instanceName, dynamic param1, dynamic param2}) =>
    locator<T>(
      instanceName: instanceName,
      param1: param1,
      param2: param2,
    );