retainWhere method

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

Retains only the elements that satisfy the test

Sync CollectiveSet returns void Async CollectiveSet returns Future<void>