copyWith method
Implementation
ChargingStation copyWith({
Aggregate? aggregate,
List<Connector>? connectors
}) {
return ChargingStation(
aggregate: aggregate ?? this.aggregate,
connectors: connectors ?? this.connectors
);
}
ChargingStation copyWith({
Aggregate? aggregate,
List<Connector>? connectors
}) {
return ChargingStation(
aggregate: aggregate ?? this.aggregate,
connectors: connectors ?? this.connectors
);
}