setAll method

  1. @override
void setAll(
  1. int index,
  2. Iterable<T> iterable
)
override

Overwrites objects of this with the objects of iterable start at positions index in this list. Listeners are notified after all objects have been set.

This operation does not icrease the length of this.

The index must be non-negative and no greater than length.

The iterable must not have more elements than what can fit from index to length.

if iterable is based on this list, its values may change /during/ the setAll operation.

Implementation

@override
void setAll(int index, Iterable<T> iterable) {
  assert(_debugAssertNotDisposed());
  _list!.setAll(index, iterable);
  notifyListeners();
}