union method

*<Null safety>*
  • @override

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

Implementation

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