cloneMap function

Map<String, dynamic> cloneMap(
  1. Map<String, dynamic> value
)

Clone a map to make it writable.

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

Implementation

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