copyWithWrapped method

WebApiModulesWarehouseCheckInSelectedItemRequest copyWithWrapped({
  1. Wrapped<int?>? orderTranId,
  2. Wrapped<String?>? internalChar,
  3. Wrapped<String?>? contractId,
  4. Wrapped<String?>? orderId,
  5. Wrapped<String?>? orderItemId,
  6. Wrapped<String?>? inventoryId,
  7. Wrapped<String?>? vendorId,
  8. Wrapped<String?>? description,
  9. Wrapped<int?>? quantityIn,
  10. Wrapped<int?>? quantityInRepair,
  11. Wrapped<int?>? quantity,
  12. Wrapped<String?>? assetId,
  13. Wrapped<String?>? consignorId,
  14. Wrapped<String?>? consignorAgreementId,
  15. Wrapped<String?>? repairId,
})

Implementation

WebApiModulesWarehouseCheckInSelectedItemRequest copyWithWrapped(
    {Wrapped<int?>? orderTranId,
    Wrapped<String?>? internalChar,
    Wrapped<String?>? contractId,
    Wrapped<String?>? orderId,
    Wrapped<String?>? orderItemId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? vendorId,
    Wrapped<String?>? description,
    Wrapped<int?>? quantityIn,
    Wrapped<int?>? quantityInRepair,
    Wrapped<int?>? quantity,
    Wrapped<String?>? assetId,
    Wrapped<String?>? consignorId,
    Wrapped<String?>? consignorAgreementId,
    Wrapped<String?>? repairId}) {
  return WebApiModulesWarehouseCheckInSelectedItemRequest(
      orderTranId:
          (orderTranId != null ? orderTranId.value : this.orderTranId),
      internalChar:
          (internalChar != null ? internalChar.value : this.internalChar),
      contractId: (contractId != null ? contractId.value : this.contractId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      orderItemId:
          (orderItemId != null ? orderItemId.value : this.orderItemId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      description:
          (description != null ? description.value : this.description),
      quantityIn: (quantityIn != null ? quantityIn.value : this.quantityIn),
      quantityInRepair: (quantityInRepair != null
          ? quantityInRepair.value
          : this.quantityInRepair),
      quantity: (quantity != null ? quantity.value : this.quantity),
      assetId: (assetId != null ? assetId.value : this.assetId),
      consignorId:
          (consignorId != null ? consignorId.value : this.consignorId),
      consignorAgreementId: (consignorAgreementId != null
          ? consignorAgreementId.value
          : this.consignorAgreementId),
      repairId: (repairId != null ? repairId.value : this.repairId));
}