next method

Future<String> next()

play next audio

Implementation

Future<String> next() async {
  if (playMode != PlayMode.single) {
    _curIndex = (_curIndex + 1) % _audioList.length;
  }
  return await play();
}