ChargingStop constructor

ChargingStop(
  1. double powerInKilowatts,
  2. double currentInAmperes,
  3. double voltageInVolts,
  4. ChargingSupplyType? supplyType,
  5. Duration? minDuration,
  6. Duration? maxDuration,
)

Creates a new instance.

  • powerInKilowatts The value of rated power of the connector (in kW).
  • currentInAmperes The value of rated current of the connector (in A).
  • voltageInVolts The value of rated voltage of the connector (in V).
  • supplyType Supply type of the suggested connector.
  • minDuration The minimum duration the user expects to charge at the station, including BatterySpecifications.chargingSetupDuration. Note: At least one of min_duration and max_duration is required for a user-planned charging stop. For most use cases, providing at least min_duration is recommended.
  • maxDuration The maximum duration the user plans to charge at the station, including BatterySpecifications.chargingSetupDuration. Note: At least one of min_duration and max_duration is required for a user-planned charging stop. For most use cases, providing at least min_duration is recommended.

Implementation

ChargingStop(this.powerInKilowatts, this.currentInAmperes, this.voltageInVolts, this.supplyType, this.minDuration, this.maxDuration);