shuffle method

  1. @override
void shuffle([
  1. Random? random
])
override

Shuffles the elements of this list randomly. Listeners are notified after shuffling is completed.

Implementation

@override
void shuffle([Random? random]) {
  assert(_debugAssertNotDisposed());
  _list!.shuffle(random);
  notifyListeners();
}