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