void removeWhere(
bool test(E element)
)

This operation is not supported by an unmodifiable list.

Source

/** This operation is not supported by an unmodifiable list. */
void removeWhere(bool test(E element)) {
  throw new UnsupportedError(
      "Cannot remove from an unmodifiable list");
}