copy method

Map<K, V> copy()

Makes a shallow copy of this Map. The keys and their values are not copied, so if they are objects they may continue to be shared with the original Map. @expose @return {Map.<K,V>} The new Map with copies of the same entries.

Implementation

_i3.Map<K, V> copy() => _i4.callMethod(
      this,
      'copy',
      [],
    );