setAll method Null safety
Overwrites elements with the objects of
The elements of
iterable are written into this list,
starting at position
var list = ['a', 'b', 'c', 'd']; list.setAll(1, ['bee', 'sea']); list.join(', '); // 'a, bee, sea, d'
This operation does not increase the length of the list.
index must be non-negative and no greater than length.
iterable must not have more elements than what can fit from
iterable is based on this list, its values may change during the
void setAll(int index, Iterable<E> iterable);