operator + method

Map<K, V> operator +(
  1. Map<K, V> other
)

合并两个Map, 如果有相同的key, other中的key-value会被保留

Implementation

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