shuffled method

List<T> shuffled(
  1. Random random
)

Implementation

List<T> shuffled(Random random) {
  return toList()..shuffle(random);
}