jumpTo method

Future<void> jumpTo(
  1. int index
)

Implementation

Future<void> jumpTo(int index) async {
  if (index < 0 || index >= _queue.length) return;
  _index = index;
  await _load(_queue[index], autoPlay: true);
}