seekToPlayer method
To seek to a new location.
The player must already be playing or paused. If not, an exception is thrown.
Example:
await myPlayer.seekToPlayer(Duration(milliseconds: milliSecs));
Implementation
Future<void> seekToPlayer(Duration duration) async {
await _lock.synchronized(() async {
await _seekToPlayer(duration);
});
}