union method

Multiset<E> union(
  1. Iterable<E> other
)

Returns a new Multiset with all the elements of the receiver and those in other.

Implementation

Multiset<E> union(Iterable<E> other) => Multiset<E>.of(this)..addAll(other);