toSpliced method

List<T> toSpliced(
  1. num start,
  2. num deleteCount, [
  3. Iterable? items
])

Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array. @param start The zero-based location in the array from which to start removing elements. @param deleteCount The number of elements to remove. @param items Elements to insert into the copied array in place of the deleted elements. @returns The copied array.

Implementation

_i2.List<T> toSpliced(
  _i2.num start,
  _i2.num deleteCount, [
  _i2.Iterable<_i2.dynamic>? items,
]) =>
    ((_i6.callMethod(
      this,
      'toSpliced',
      [
        start,
        deleteCount,
        ...?items,
      ],
    )) as _i2.List)
        .cast();