getPosition method
Gets the video position as Duration from the start.
Implementation
@override
Future<Duration> getPosition(int textureId) async {
var controller =
VideoPlayerWinPlatform.instance.getPlayerByTextureId(textureId);
return await controller?.position ?? const Duration();
}