retainWhere abstract method

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

Retains all elements that satisfy the test condition.

Sync CollectiveQueue returns void Async CollectiveQueue returns Future<void>

Implementation

retainWhere(bool Function(E element) test);