setRange method

  1. @override
Future<void> setRange(
  1. int start,
  2. int end,
  3. Iterable<E> newContents, [
  4. int skipCount = 0,
])
override

Writes some elements of iterable into a range of this list.

Copies the objects of iterable, skipping skipCount objects first, into the range from start, inclusive, to end, exclusive, of this list.

Implementation

@override
Future<void> setRange(int start, int end, Iterable<E> newContents, [int skipCount = 0]) async {
  return Future<void>(() => _collective.setRange(start, end, newContents, skipCount));
}