union method

BuiltSet<E> union(
  1. BuiltSet<E> other
)

As Set.union but takes and returns a BuiltSet<E>.

Implementation

BuiltSet<E> union(BuiltSet<E> other) =>
    _BuiltSet<E>.withSafeSet(_setFactory, _set.union(other._set));