update method

V update(
  1. K key,
  2. V Function(V value) update, {
  3. V Function()? ifAbsent,
})
inherited

This operation is not supported by an unmodifiable map.

Implementation

V update(K key, V Function(V value) update, {V Function()? ifAbsent}) {
  throw UnsupportedError("Cannot modify unmodifiable map");
}