copyWith method
Implementation
ConnectorAggregation copyWith({
EvConnectorType? type,
double? maxChargeRateKw,
int? count,
DateTime? availabilityLastUpdateTime,
int? availableCount,
int? outOfServiceCount,
}) {
return ConnectorAggregation(
type: type ?? this.type,
maxChargeRateKw: maxChargeRateKw ?? this.maxChargeRateKw,
count: count ?? this.count,
availabilityLastUpdateTime:
availabilityLastUpdateTime ?? this.availabilityLastUpdateTime,
availableCount: availableCount ?? this.availableCount,
outOfServiceCount: outOfServiceCount ?? this.outOfServiceCount,
);
}