setAll method Null safety
Overwrites objects of
this with the objects of
index in this list.
List<String> list = ['a', 'b', 'c']; list.setAll(1, ['bee', 'sea']); list.join(', '); // 'a, bee, sea'
This operation does not increase the length of
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);