copyWith method
Implementation
Connector copyWith({
int? power,
int? price,
StatusType? status,
String? type
}) {
return Connector(
power: power ?? this.power,
price: price ?? this.price,
status: status ?? this.status,
type: type ?? this.type
);
}