allRepositories method

Map<Type, EntityRepository<Object>> allRepositories({
  1. Map<Type, EntityRepository<Object>>? allRepositories,
  2. Set<EntityRepositoryProvider>? traversedProviders,
})

Implementation

Map<Type, EntityRepository> allRepositories(
    {Map<Type, EntityRepository>? allRepositories,
    Set<EntityRepositoryProvider>? traversedProviders}) {
  var self = this;
  if (self is! List<EntityRepositoryProvider> &&
      self is! Set<EntityRepositoryProvider>) {
    self = self.toList(growable: false);
  }

  return self._allRepositoriesImpl(
      allRepositories: allRepositories,
      traversedProviders: traversedProviders);
}