retainWhere method

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

This operation is not supported by an unmodifiable list.

Implementation

void retainWhere(bool Function(E element) test) {
  throw UnsupportedError("Cannot remove from an unmodifiable list");
}