union method

  1. @override
Set<E> union(
  1. Set<E> other
)
override

Returns a new set containing all elements in this set and other.

This is a non-mutating operation that creates a new set.

Implementation

@override
Set<E> union(Set<E> other) => value.union(other);