retainWhere method

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

Implementation

void retainWhere(bool Function(E element) test) =>
    value = value..removeWhere(test);