findFirstObjectRegistration<T extends Object> abstract method
find the first registration that matches the type T
/instanceName
or the instance
Implementation
ObjectRegistration? findFirstObjectRegistration<T extends Object>({
Object? instance,
String? instanceName,
});