replaceRange method

  1. @override
Future<void> replaceRange(
  1. int start,
  2. int end,
  3. Iterable<E> newContents
)
override

Replaces a range of elements with the elements of replacements.

Removes the objects in the range from start to end, then inserts the elements of replacements at start.

Implementation

@override
Future<void> replaceRange(int start, int end, Iterable<E> newContents) async {
  return Future<void>(() => _collective.replaceRange(start, end, newContents));
}