position property

Future<Duration?> get position

The position in the current video.

Implementation

Future<Duration?> get position async {
  if (_isDisposed) {
    return null;
  }
  return _videoPlayerPlatform.getPosition(_playerId);
}