shuffle method

*<Null safety>*
  • @override

void shuffle ([Random? random]) override

Implementation

@override
void shuffle([Random? random]) {
  if (source.length != _initialSize) {
    throw ConcurrentModificationError(source);
  }
  algorithms.shuffle(source, start, end, random);
}