copyWith method
Implementation
EvOptions copyWith({
List<EvConnectorType>? connectorTypes,
double? minimumChargingRateKw,
}) {
return EvOptions(
connectorTypes:
((connectorTypes?.isNotEmpty ?? false) ? connectorTypes : null) ??
this.connectorTypes,
minimumChargingRateKw:
minimumChargingRateKw ?? this.minimumChargingRateKw,
);
}