map_algorithms/merge_maps_conflict library

Functions

mergeMaps<K, V>(Map<K, V> a, Map<K, V> b, V conflict(K, V, V)) Map<K, V>
Merge Two Maps with Conflict Resolution. If a key exists in both, conflict is called with (key, aValue, bValue).