fillRange method Null safety

void fillRange (
  1. int start,
  2. int end,
  3. [double? fillValue]
)
inherited

This operation is not supported by an unmodifiable list.

Implementation

void fillRange(int start, int end, [E? fillValue]) {
  throw new UnsupportedError("Cannot modify an unmodifiable list");
}