copy method

List<T> copy()

Makes a shallow copy of this List. The values are not copied, so if they are objects they may continue to be shared with the original List. @expose @return {List.

Implementation

_i3.List<T> copy() => _i4.callMethod(
      this,
      'copy',
      [],
    );