ChargingStop constructor
- double powerInKilowatts,
- double currentInAmperes,
- double voltageInVolts,
- ChargingSupplyType? supplyType,
- Duration? minDuration,
- Duration? maxDuration,
Creates a new instance.
powerInKilowattsThe value of rated power of the connector (in kW).currentInAmperesThe value of rated current of the connector (in A).voltageInVoltsThe value of rated voltage of the connector (in V).supplyTypeSupply type of the suggested connector.minDurationThe minimum duration the user expects to charge at the station, including BatterySpecifications.chargingSetupDuration. Note: At least one ofmin_durationandmax_durationis required for a user-planned charging stop. For most use cases, providing at leastmin_durationis recommended.maxDurationThe maximum duration the user plans to charge at the station, including BatterySpecifications.chargingSetupDuration. Note: At least one ofmin_durationandmax_durationis required for a user-planned charging stop. For most use cases, providing at leastmin_durationis recommended.
Implementation
ChargingStop(this.powerInKilowatts, this.currentInAmperes, this.voltageInVolts, this.supplyType, this.minDuration, this.maxDuration);