union method

Set<T> union(
  1. Set<T> other
)

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

Implementation

Set<T> union(Set<T> other) {
  return Set<T>.from(_container.union(other._container));
}