removeRange method Null safety
Removes the objects in the range
start inclusive to
The provided range, given by
end, must be valid.
A range from
end is valid if
0 <= start <= end <= len, where
len is this list's
length. The range starts at
start and has length
end - start. An empty range (with
end == start) is valid.
Throws an UnsupportedError if this is a fixed-length list. In that case the list is not modified.
external void removeRange(int start, int end);