findIn method

Iterable<Resource> findIn(
  1. ResourceCollection collection
)

Finds the referenced elements which are found in the collection. The resulting Iterable may contain fewer elements than referred by the relationship if the collection does not have all of them.

Implementation

Iterable<Resource> findIn(ResourceCollection collection) =>
    _map.keys.map((key) => collection[key]).whereType();