retainAll method

Set<T> retainAll(
  1. Iterable<T> coll
)

Removes from this Set all items that are not in the given collection.

Be careful not to call this method while iterating over the collection. @param {Iterable.

Implementation

_i3.Set<T> retainAll(_i3.Iterable<T> coll) => _i4.callMethod(
      this,
      'retainAll',
      [coll],
    );