remove method
Removes key and its associated value, if present, from the map.
MapUpdate is sent with key/value set as null.
Implementation
@override
V? remove(Object? key) {
final currentV = this[key];
this[key as K] = null;
_map.remove(key);
return currentV;
}