cloneValue function
- dynamic value
Clone a value to make it writable, typically a list or a map.
Other supported object remains as is.
This should be used to create a writable object that can be modified.
Implementation
dynamic cloneValue(dynamic value) => utils.cloneValue(value);