removeLoadedModels method
Removes the given models
to the map without removing them from the
repository. It is assumed that these have already been removed.
Implementation
void removeLoadedModels(Iterable<T> models) {
final set = models.map((e) => e.id).toSet();
map.removeWhere((key, value) => set.contains(key));
}