remove method
Deletes item at index
.
Implementation
void remove(int index, [int count = 1]) {
if (count > 0) {
if (index + count >= _length) {
count = _length - index;
}
for (var i = index; i < _length - count; i++) {
_array[_getCyclicIndex(i)] = _array[_getCyclicIndex(i + count)];
}
length -= count;
}
}