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