shuffleRange method

void shuffleRange(
  1. int start,
  2. int end, [
  3. Random? random
])

Shuffle a range of elements.

Implementation

void shuffleRange(int start, int end, [Random? random]) {
  RangeError.checkValidRange(start, end, length);
  shuffle(this, start, end, random);
}