EqualitySet<E>.from constructor

*<Null safety>*

EqualitySet<E>.from(Equality<E> equality, Iterable<E> other)

Implementation

EqualitySet.from(Equality<E> equality, Iterable<E> other)
    : super(LinkedHashSet(
          equals: equality.equals,
          hashCode: equality.hash,
          isValidKey: equality.isValidKey)) {
  addAll(other);
}