Creates the position state.
external factory MediaSessionPositionState({ double? duration, double? playbackRate, double? position, });