findMatchingArchetypes method

List<Archetype> findMatchingArchetypes(
  1. SetHash hash
)

Implementation

List<Archetype> findMatchingArchetypes(SetHash hash) {
  final result = <Archetype>[];
  for (final archetype in _archetypeIndex.values) {
    if (!archetype.isEmpty && archetype.setHash.contains(hash)) {
      result.add(archetype);
    }
  }
  return result;
}