cloneList function

List cloneList(
  1. List value
)

Clone a list to make it writable.

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

Implementation

List<dynamic> cloneList(List<dynamic> value) =>
    cloneValue(value) as List<dynamic>;