totalCapacityInKilowattHours property - BatterySpecifications class - routing library - Dart API
totalCapacityInKilowattHours
totalCapacityInKilowattHours property
getter/setter pair
Total capacity of the vehicle's battery (in kWh). It must be positive. Defaults to 0. Note: For a user-planned ChargingStop, this parameter is also required. If not set greater than 0, the route calculation will fail as an invalid parameter error.
Implementation
double totalCapacityInKilowattHours;