difference method

Multiset<E> difference(
  1. Iterable<Object?> other
)

Returns a new Multiset with all the elements of the receiver that are not in other.

Implementation

Multiset<E> difference(Iterable<Object?> other) =>
    Multiset<E>.of(this)..removeAll(other);