shuffle method

void shuffle([
  1. Random? random
])

Shuffles elements in the list.

Implementation

void shuffle([Random? random]) {
  // delegate to darts list implementation for shuffling
  asList().shuffle(random);
}