dart:html shuffle method    void shuffle(
[Random? random] ) override  Shuffles the elements of this list randomly. final numbers = <int>[1, 2, 3, 4, 5];
numbers.shuffle();
print(numbers); // [1, 3, 4, 5, 2] OR some other random result. Implementation void shuffle([Random? random]) {
  throw new UnsupportedError("Cannot shuffle immutable List.");
}

    
{'path': 'public/docs/dart~2/dart-html/immutablelistmixin/shuffle.html', 'source': 'DevDocs.IO'}