remove method
Removes the mapping for key and its reverse mapping.
Returns the removed value, or null if absent.
Implementation
@override
V? remove(Object? key) {
final value = _map.remove(key);
if (value != null) {
_map2.remove(value);
}
return value;
}