shuffleArray<T> static method

List<T> shuffleArray<T>(
  1. List<T> array
)

Implementation

static List<T> shuffleArray<T>(List<T> array) {
  final random = Random.secure();
  array.shuffle(random);
  return array;
}