shuffle method

void shuffle (
  1. [Random random]
)
override

Shuffles the elements of this list randomly.

Implementation

void shuffle([Random random]) {
  throw new UnsupportedError("Cannot shuffle immutable List.");
}