A key/value pair representing an entry in a Map.
The Map interface contains various methods that can inspect or modify the map based on entry objects.
final map = {'1': 'A', '2': 'B'};
map.addEntries([
MapEntry('3', 'C'),
MapEntry('4', 'D'),
]);
print(map); // {1: A, 2: B, 3: C, 4: D} key and value.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/MapEntry-class.html