CountingHashSet<E> constructor
Equivalent to HashSet's main constructor.
Implementation
CountingHashSet({
bool Function(E, E)? equals,
int Function(E)? hashCode,
bool Function(dynamic)? isValidKey,
}) : _inner = HashSet(
equals: equals,
hashCode: hashCode,
isValidKey: isValidKey,
),
_counts = HashMap(
equals: equals,
hashCode: hashCode,
);