difference method

  1. @override
Set<E> difference(
  1. Set<Object?> other
)
override

Returns a new set with elements in this set that are not in other.

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

Implementation

@override
Set<E> difference(Set<Object?> other) => value.difference(other);