seekTo method
Implementation
Future<void> seekTo(Duration position) async {
if (!_isChangingSource) {
final Duration end = endRange;
final Duration begin = beginRange;
if (position < begin) {
position = begin;
} else if (position > end) {
position = end;
}
await _video?.seekTo(position);
}
}