has<T extends Object> method

  1. @override
bool has<T extends Object>({
  1. String? name,
})
override

Checks if the instance of the specified Object type is registered in the DI container.

Implementation

@override
bool has<T extends Object>({String? name}) {
  return _instance.isRegistered<T>(instanceName: name);
}