retainWhere method

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

As List.retainWhere.

This method is an alias of where.

Implementation

void retainWhere(bool Function(E) test) {
  _safeList.retainWhere(test);
}