removedFromMap<K, V> method
Null safety
- K key,
- V removedValue,
- {String? propertyName}
A factory method which creates a single EmpireStateChanged object with a description describing what key/value was removed from the map
Implementation
static EmpireStateChanged<V> removedFromMap<K, V>(K key, V removedValue,
{String? propertyName}) {
final removedEntry = MapEntry(key, removedValue);
return EmpireStateChanged<V>(null, removedValue,
propertyName: propertyName,
description: 'Removed From Map: $removedEntry');
}