retainWhere method

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

Implementation

void retainWhere(bool Function(E element) test) => update(() => _list.retainWhere(test));