addAll method

ImmortalSet<T> addAll(
  1. ImmortalSet<T> other
)

Returns a copy of this set where all elements of other are added.

If other is empty, the set is returned unchanged.

Implementation

ImmortalSet<T> addAll(ImmortalSet<T> other) => addIterable(other.toSet());