copyWithWrapped method

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

Implementation

WebApiModulesWarehouseCheckInSwapItem copyWithWrapped({
  Wrapped<String?>? iCode,
  Wrapped<String?>? description,
  Wrapped<String?>? inBarcode,
  Wrapped<String?>? inOrder,
  Wrapped<String?>? swappedWithBarcode,
  Wrapped<String?>? swappedWithOrder,
  Wrapped<String?>? scannedBy,
}) {
  return WebApiModulesWarehouseCheckInSwapItem(
    iCode: (iCode != null ? iCode.value : this.iCode),
    description: (description != null ? description.value : this.description),
    inBarcode: (inBarcode != null ? inBarcode.value : this.inBarcode),
    inOrder: (inOrder != null ? inOrder.value : this.inOrder),
    swappedWithBarcode: (swappedWithBarcode != null
        ? swappedWithBarcode.value
        : this.swappedWithBarcode),
    swappedWithOrder: (swappedWithOrder != null
        ? swappedWithOrder.value
        : this.swappedWithOrder),
    scannedBy: (scannedBy != null ? scannedBy.value : this.scannedBy),
  );
}