updateMapEntry<K, V> method
Null safety
- K key,
- V? originalValue,
- V? nextValue,
- {String? propertyName}
A factory method which creates a single EmpireStateChanged object with a description describing what changes were made to a map entry, including for which key
Implementation
static EmpireStateChanged<V> updateMapEntry<K, V>(
K key, V? originalValue, V? nextValue,
{String? propertyName}) {
return EmpireStateChanged<V>(nextValue, originalValue,
propertyName: propertyName,
description: 'Update Map Value For Key: $key');
}