addedToMap<K, V> method
Null safety
- K key,
- V newValue,
- {String? propertyName}
A factory method which creates a single EmpireStateChanged object with a description describing what key/value was added to the map
Implementation
static EmpireStateChanged addedToMap<K, V>(K key, V newValue,
{String? propertyName}) {
final newEntry = MapEntry(key, newValue);
return EmpireStateChanged(newEntry, null,
propertyName: propertyName, description: 'Added To Map: $newEntry');
}