setRange method

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");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-typed_data/UnmodifiableUint8ListView/setRange.html