addLoadedModels method

void addLoadedModels(
  1. Iterable<T> models
)

Adds the given models to the map without adding them to the repository. It is assumed that these are already present.

Implementation

void addLoadedModels(Iterable<T> models) =>
    map.addAll({for (final model in models) model.id!: model});