removeWhere method Null safety

void removeWhere (
  1. bool test(
    1. K key,
    2. V value
    )
)
inherited

This operation is not supported by an unmodifiable map.

Implementation

void removeWhere(bool test(K key, V value)) {
  throw UnsupportedError("Cannot modify unmodifiable map");
}