copy method

Map<K, V> copy()

Copy the value of the key-value collection.

Implementation

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