update method

  1. @override
V update(
  1. K key,
  2. Value1Callback<V, V> update, {
  3. Callback<V>? ifAbsent,
})
override

This operation is not supported by an unmodifiable map.

Implementation

@override
V update(K key, Value1Callback<V, V> update, {Callback<V>? ifAbsent}) {
  throw UnsupportedError('Cannot modify unmodifiable map');
}