fastForward method

Future<void> fastForward()

fast Forward (10 seconds)

Implementation

Future<void> fastForward() async {
  final to = position.value.inSeconds + 10;
  if (duration.value.inSeconds > to) {
    await seekTo(Duration(seconds: to));
  }
}