cloneMap function

Map<String, Object?> cloneMap(
  1. Map value
)

Clone a map to make it writable.

This should be used to create a writable object that can be modified

Implementation

Map<String, Object?> cloneMap(Map value) =>
    cloneValue(value) as Map<String, Object?>;