merge method

Map<K, V> merge(
  1. Map<K, V> other
)

Shallow merge with other (other wins on key conflicts).

Implementation

Map<K, V> merge(Map<K, V> other) => {...this, ...other};