setRange method

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

Refer to List.setRange.

Additionally returns the list.

Implementation

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