copyWith method
EVChargeOptions
copyWith({
- int? connectorCount,
- List<
ConnectorAggregation> ? connectorAggregation,
Implementation
EVChargeOptions copyWith({
int? connectorCount,
List<ConnectorAggregation>? connectorAggregation,
}) {
return EVChargeOptions(
connectorCount: connectorCount ?? this.connectorCount,
connectorAggregation:
((connectorAggregation?.isNotEmpty ?? false)
? connectorAggregation
: null) ??
this.connectorAggregation,
);
}