lookupPossibleDeps function

Set<DependencyConfig> lookupPossibleDeps(
  1. InjectedDependency iDep,
  2. Iterable<DependencyConfig> allDeps
)

Implementation

Set<DependencyConfig> lookupPossibleDeps(
  InjectedDependency iDep,
  Iterable<DependencyConfig> allDeps,
) {
  return allDeps.where((d) => d.type == iDep.type && d.instanceName == iDep.instanceName).toSet();
}