shuffle abstract method

void shuffle({
  1. int? initialIndex,
})

Shuffles the indices. If the current item in the player falls within the ConcatenatingAudioSource being shuffled, initialIndex will point to that item. Subclasses may use this information as a hint, for example, to make initialIndex the first item in the shuffle order.

Implementation

void shuffle({int? initialIndex});