next method

Future<bool> next({
  1. bool stopIfLast = false,
  2. bool keepLoopMode = true,
})

keepLoopMode: if true : the loopMode is .single => execute next() will keep it .single if false : the loopMode is .single => execute next() will set it as .playlist

Implementation

Future<bool> next({
  bool stopIfLast = false,
  bool keepLoopMode = true,
}) {
  return _next(
    stopIfLast: stopIfLast,
    requestByUser: true,
    keepLoopMode: keepLoopMode,
  );
}