splice abstract method

$R splice(
  1. int index,
  2. int removeCount, [
  3. Iterable<$E>? toInsert
])

Returns a new spliced list with removeCount items removed and toInsert inserted at index

Implementation

$R splice(int index, int removeCount, [Iterable<$E>? toInsert]);