setRange method
Writes some elements of iterable into a range of this list.
Copies the objects of iterable, skipping skipCount objects first, into the range from start, inclusive, to end, exclusive, of this list.
Implementation
@override
Future<void> setRange(int start, int end, Iterable newContents, [int skipCount = 0]) async {
return Future<void>(() => throw UnsupportedError('Unmodifiable operation'));
}