revert method
void
revert(
- K key
Reverts key back to that in defaultMap.
If the key/value pair changed changed then a MapUpdate is sent to attached streams.
Implementation
void revert(K key) {
final currentV = _defaultMap[key];
if (currentV == null) {
_map.remove(key);
} else {
this[key] = currentV;
}
}