removeByKey<T> method
Removes the dependency with the signature of T
and dependencyName
.
Implementation
void removeByKey<T>({String dependencyName = ""}) {
_checkValidation<T>();
final dependencyKey = _getIdentity<T>(dependencyName);
_factoryMap.remove(dependencyKey);
}