union method

  1. @useCopy
ISet<T> union(
  1. Iterable<T> other
)

Returns a new set which contains all the elements of this set and other.

That is, the returned set contains all the elements of this ISet and all the elements of other.

Implementation

@useCopy
ISet<T> union(Iterable<T> other) => addAll(other);