getOwner<T> method

String? getOwner<T>()

Returns the ID of the module that registered the dependency of type T.

Returns null if the dependency was registered without a module ID or is not found.

Implementation

String? getOwner<T>() => _registrationOwners[T];