copyWith method

BankSlip copyWith({
  1. String? digitableLine,
  2. String? barcodeData,
  3. String? barcode,
})

Implementation

BankSlip copyWith({
  String? digitableLine,
  String? barcodeData,
  String? barcode,
}) {
  return BankSlip(
    digitableLine: digitableLine ?? this.digitableLine,
    barcodeData: barcodeData ?? this.barcodeData,
    barcode: barcode ?? this.barcode,
  );
}