retainAll method Null safety

void retainAll (
  1. Iterable<Object?> elements
)
inherited

This operation is not supported by an unmodifiable set.

Implementation

void retainAll(Iterable<Object?> elements) => _throwUnmodifiable();