mergeWith method
Implementation
Map<K, List<V>> mergeWith(Map<K, List<V>?>? other) {
final newMap = <K, List<V>>{...?this};
other?.forEach((key, valueList) {
newMap.putIfAbsent(key, () => <V>[]).addAll([...?valueList]);
});
return newMap;
}