distanceRemaining
The maximum distance the vehicle can travel with the remaining resources.
Declaration
var distanceRemaining: Measurement<UnitLength>? { get set }Discussion
For an electric vehicle, this value is the same as distanceRemainingElectric. For a fuel-powered vehicle, this value is the same as distanceRemainingGasoline. For a hybrid vehicle, this value is the sum of distanceRemainingElectric and distanceRemainingGasoline.
As a result of driving characteristics, this value can change over time when the vehicle’s in motion.