copyWith method
Implementation
Aggregate copyWith({
int? connectorsFree,
int? connectorsTotal,
bool? isActive,
bool? isBusy,
int? power
}) {
return Aggregate(
connectorsFree: connectorsFree ?? this.connectorsFree,
connectorsTotal: connectorsTotal ?? this.connectorsTotal,
isActive: isActive ?? this.isActive,
isBusy: isBusy ?? this.isBusy,
power: power ?? this.power
);
}