reverse method
void
reverse()
Reverses the order of elements in the slice, in place.
Implementation
void reverse() {
for (var i = _start, j = _end - 1; i < j; i++, j--) {
var temp = _list[i];
_list[i] = _list[j];
_list[j] = temp;
}
}