mergeTo method

Map<K, V> mergeTo(
  1. Map<K, V>? other
)

将后一个 Map 的内容合并到前一个 Map 中

Implementation

Map<K, V> mergeTo(Map<K, V>? other) {
  return {...this, ...?other};
}