shuffle method

Future<List<E>> shuffle([
  1. Random? random
])

Refer to List.shuffle.

Additionally returns the list.

Implementation

Future<List<E>> shuffle([Random? random]) async {
  return (await this)..shuffle(random);
}