intersection method
Returns a new set containing elements present in both this set and other.
This is a non-mutating operation that creates a new set.
Implementation
@override
Set<E> intersection(Set<Object?> other) => value.intersection(other);
Returns a new set containing elements present in both this set and other.
This is a non-mutating operation that creates a new set.
@override
Set<E> intersection(Set<Object?> other) => value.intersection(other);