intersection method

Set<T> intersection(
  1. Set<T> other
)

Returns a new set which is the intersection between this set and other.

Implementation

Set<T> intersection(Set<T> other) {
  return Set<T>.from(_container.intersection(other._container));
}