copy

fun copy(currentType: CurrentType = this.currentType, plugTypes: List<ConnectorType> = this.plugTypes, efficiency: Ratio = this.efficiency, baseLoad: Power = this.baseLoad, maxPower: Power = this.maxPower, maxVoltage: Voltage = this.maxVoltage, maxCurrent: ElectricCurrent = this.maxCurrent, voltageRange: VoltageRange? = this.voltageRange): ChargingConnector

Deprecated

This will be removed from future releases after 2026-02-01.

Replace with

ChargingConnector(currentType, plugTypes, efficiency, baseLoad, maxPower, maxVoltage, maxCurrent, voltageRange)