removeFrom method
Removes the number of elements defined by count
,
starting from index
.
Implementation
void removeFrom(int index, int count) {
assert(index >= 0 && index < length);
assert(count >= 0 && count <= length - index);
removeRange(index, index + count);
}