clone method

Map<K, V> clone()

Clone another map from an existing map.

All contents are shallow copies.

既存のマップから別のマップをクローンします。

中身はすべてシャローコピーです。

Implementation

Map<K, V> clone() {
  return Map<K, V>.from(this);
}