CountingHashSet<E>.of constructor

CountingHashSet<E>.of(
  1. Iterable<E> elements
)

Equivalent to HashSet.of.

Implementation

factory CountingHashSet.of(Iterable<E> elements) =>
    CountingHashSet()..addAll(elements);