updateKey method
Updates the value for the provided key
nu calling the Map.update method.
Implementation
void updateKey(
E key,
T Function(T value) update, {
T Function()? ifAbsent,
bool doNotifyListeners = true,
}) {
_value = _value..update(key, update, ifAbsent: ifAbsent);
if (doNotifyListeners) {
notifyListeners();
}
}