copyWith method

WebApiModulesWarehouseCheckInSwapItem copyWith({
  1. String? iCode,
  2. String? description,
  3. String? inBarcode,
  4. String? inOrder,
  5. String? swappedWithBarcode,
  6. String? swappedWithOrder,
  7. String? scannedBy,
})

Implementation

WebApiModulesWarehouseCheckInSwapItem copyWith({
  String? iCode,
  String? description,
  String? inBarcode,
  String? inOrder,
  String? swappedWithBarcode,
  String? swappedWithOrder,
  String? scannedBy,
}) {
  return WebApiModulesWarehouseCheckInSwapItem(
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    inBarcode: inBarcode ?? this.inBarcode,
    inOrder: inOrder ?? this.inOrder,
    swappedWithBarcode: swappedWithBarcode ?? this.swappedWithBarcode,
    swappedWithOrder: swappedWithOrder ?? this.swappedWithOrder,
    scannedBy: scannedBy ?? this.scannedBy,
  );
}