remove method Null safety

bool remove(
  1. Set<E> component
)

Removes the contents of component to set.

If another set in this has overlapping elements with component, those elements will remain in set.

Implementation

bool remove(Set<E> component) => _sets.remove(component);