copyMap function

Map? copyMap(
  1. Map? map
)

Copies map.

Implementation

Map? copyMap(Map? map) {
  if (map == null) return null;
  return Map.from(map);
}