hasRegister<T extends Object?> method
Checks if the T
dependency with/without id
is registered in Reactter.
Implementation
bool hasRegister<T extends Object?>([String? id]) {
final DependencyRef dependencyRef = DependencyRef<T?>(id);
return _dependencyRegisters.lookup(dependencyRef) != null;
}