replaceRange method

Future<List<E>> replaceRange(
  1. int start,
  2. int end,
  3. Iterable<E> iterable
)

Refer to List.replaceRange.

Additionally returns the list.

Implementation

Future<List<E>> replaceRange(int start, int end, Iterable<E> iterable) async {
  return (await this)..replaceRange(start, end, iterable);
}