retainWhere method

Object? retainWhere(
  1. bool test(
    1. E element
    )
)
inherited

Retains all elements that satisfy the test condition.

Sync CollectiveQueue returns void Async CollectiveQueue returns Future<void>