removeValue method
void
removeValue(
- K key
Implementation
void removeValue(K key) {
assert(
value.containsKey(key),
PulseXErrors.keyNotFoundError(key),
);
final updatedMap = Map<K, V>.from(value);
updatedMap.remove(key);
value = updatedMap;
}