copyWith method

BarcodeData copyWith({
  1. String? code,
  2. BarcodeId? barcodeId,
  3. List<BarcodeInfo>? information,
})

Implementation

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