copy

fun copy(connectorType: ConnectorType = this.connectorType, ratedPower: Power? = this.ratedPower, current: ElectricCurrent? = this.current, currentType: CurrentType? = this.currentType, voltage: Voltage? = this.voltage): ConnectorDetails

Deprecated

This will be removed from future releases after 2025-03-31.

Replace with

ConnectorDetails(connectorType, ratedPower, current, currentType, voltage)