reverseRange method

void reverseRange(
  1. int start,
  2. int end
)

Reverses a range of elements.

Implementation

void reverseRange(int start, int end) {
  RangeError.checkValidRange(start, end, length);
  source.reverseRange(this.start + start, this.start + end);
}