update method
V
update(
- K key,
- V update(
- V value
- V ifAbsent()?,
Implementation
V update(K key, V Function(V value) update, {V Function()? ifAbsent}) {
final modifiedValue = value;
final element = modifiedValue.update(key, update, ifAbsent: ifAbsent);
value = modifiedValue;
return element;
}