copyWith method
Implementation
BarcodeData copyWith({
String? code,
BarcodeId? barcodeId,
List<BarcodeInfo>? information,
}) {
return BarcodeData(
code: code ?? this.code,
barcodeId: barcodeId ?? this.barcodeId,
information: information ?? this.information,
);
}