cloneList function

List<Object?> cloneList(
  1. List<Object?> value
)

Clone a list to make it writable.

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

Implementation

List<Object?> cloneList(List<Object?> value) =>
    cloneValue(value) as List<Object?>;