addedEntriesToMap<K, V> method Null safety

EmpireStateChanged addedEntriesToMap<K, V>(
  1. Iterable<MapEntry<K, V>> entries,
  2. {String? propertyName}
)

A factory method which creates a single EmpireStateChanged object with a description describing what MapEntry objects were added to the map

Implementation

static EmpireStateChanged addedEntriesToMap<K, V>(
    Iterable<MapEntry<K, V>> entries,
    {String? propertyName}) {
  return EmpireStateChanged(entries, null,
      propertyName: propertyName,
      description: 'Added Entries To Map: $entries');
}