shuffle method

IList<T> shuffle([
  1. Random? random
])

Shuffles the elements of this list randomly.

Implementation

IList<T> shuffle([Random? random]) =>
    IList._unsafeFromList(toList()..shuffle(random), config: config);