setRange method Null safety

void setRange (
  1. int start,
  2. int end,
  3. Iterable<int> iterable,
  4. [int skipCount = 0]
)
inherited

This operation is not supported by an unmodifiable list.

Implementation

void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) {
  throw new UnsupportedError("Cannot modify an unmodifiable list");
}