retainWhere abstract method

dynamic retainWhere(
  1. bool test(
    1. E element
    )
)

Retains only the elements that satisfy the test

Sync CollectiveSet returns void Async CollectiveSet returns Future<void>

Implementation

retainWhere(bool Function(E element) test);