skipForward method
void
skipForward()
Implementation
void skipForward() {
if (latestValue != null) {
cancelAndRestartTimer();
final end = latestValue!.duration!.inMilliseconds;
final skip = (latestValue!.position +
Duration(
milliseconds: betterPlayerControlsConfiguration
.forwardSkipTimeInMilliseconds))
.inMilliseconds;
betterPlayerController!.seekTo(Duration(milliseconds: min(skip, end)));
}
}