union method

view source

Set<E> union (Set<E> other) inherited

Implementation

Set<E> union(Set<E> other) {
  return toSet()..addAll(other);
}