remove method
Implementation
remove(Scope scope)
{
if ((_directory.containsKey(scope.id)) && (_directory[scope.id]!.contains(scope))) _directory[scope.id]!.remove(scope);
if (unresolved != null)
{
unresolved!.removeWhere((scopeId, observable) => scopeId == scope.id);
if (unresolved!.isEmpty) unresolved = null;
}
}