operator + method

Set<E> operator +(
  1. Iterable<E> other
)

Returns an Set containing all elements of the original collection and then all elements of the other collection.

Implementation

Set<E> operator +(Iterable<E> other) => {...this, ...other};