retainAll method

Object? retainAll(
  1. Iterable<Object?> elements
)
inheritedoverride

Retains only the elements in the iterable

Sync CollectiveSet returns void Async CollectiveSet returns Future<void>