retainAll method Null safety

  1. @override
void retainAll(
  1. Iterable elements
)
override

Throws an UnsupportedError; operations that change the set are disallowed.

Implementation

@override
void retainAll(Iterable elements) => _throw();