copyWith method
Implementation
UsbDevice copyWith({
int? vendorId,
int? productId,
String? manufacturer,
}) {
return UsbDevice(
vendorId: vendorId ?? this.vendorId,
productId: productId ?? this.productId,
manufacturer: manufacturer ?? this.manufacturer,
);
}