void shuffle([Random random ])

Shuffles the elements of this list randomly.

Source

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