shuffle method

void shuffle ([Random random ])
override

Shuffles the elements of this list randomly.

Implementation

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