copyWithWrapped method

WebApiModulesInventoryRetiredRetired copyWithWrapped({
  1. Wrapped<String?>? retiredId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? iCode,
  4. Wrapped<String?>? description,
  5. Wrapped<String?>? barCode,
  6. Wrapped<String?>? itemId,
  7. Wrapped<String?>? serialNumber,
  8. Wrapped<String?>? warehouseId,
  9. Wrapped<String?>? warehouseCode,
  10. Wrapped<String?>? warehouse,
  11. Wrapped<String?>? consignorId,
  12. Wrapped<String?>? consignor,
  13. Wrapped<String?>? consignorAgreementId,
  14. Wrapped<String?>? agreementNumber,
  15. Wrapped<String?>? retiredDate,
  16. Wrapped<String?>? retiredReason,
  17. Wrapped<String?>? retiredReasonType,
  18. Wrapped<String?>? retiredBy,
  19. Wrapped<String?>? retiredReasonId,
  20. Wrapped<String?>? retiredByUserId,
  21. Wrapped<String?>? retiredNotes,
  22. Wrapped<double?>? retiredQuantity,
  23. Wrapped<double?>? unretiredQuantity,
  24. Wrapped<String?>? lostOrderId,
  25. Wrapped<String?>? lostOrderNumber,
  26. Wrapped<String?>? lostName,
  27. Wrapped<String?>? lostAddress1,
  28. Wrapped<String?>? lostAddress2,
  29. Wrapped<String?>? lostCity,
  30. Wrapped<String?>? lostState,
  31. Wrapped<String?>? lostZipCode,
  32. Wrapped<String?>? lostPhone,
  33. Wrapped<String?>? lostCountryId,
  34. Wrapped<String?>? lostCountry,
  35. Wrapped<String?>? lostCountryCodeIsoAlpha2,
  36. Wrapped<int?>? lostCountryCodePhone,
  37. Wrapped<String?>? soldToOrderDescription,
  38. Wrapped<String?>? soldToOrderReferenceNumber,
  39. Wrapped<String?>? soldToOrderId,
  40. Wrapped<String?>? soldToOrderItemId,
  41. Wrapped<String?>? soldToOrderNumber,
  42. Wrapped<String?>? soldDate,
  43. Wrapped<double?>? soldAmount,
  44. Wrapped<String?>? soldToName,
  45. Wrapped<String?>? soldToAddress1,
  46. Wrapped<String?>? soldToAddress2,
  47. Wrapped<String?>? soldToCity,
  48. Wrapped<String?>? soldToState,
  49. Wrapped<String?>? soldToZipCode,
  50. Wrapped<String?>? soldToPhone,
  51. Wrapped<String?>? soldToCountryId,
  52. Wrapped<String?>? soldToCountry,
  53. Wrapped<String?>? soldToCountryCodeIsoAlpha2,
  54. Wrapped<int?>? soldToCountryCodePhone,
  55. Wrapped<String?>? soldCurrencyId,
  56. Wrapped<String?>? soldCurrency,
  57. Wrapped<String?>? soldCurrencyCode,
  58. Wrapped<String?>? soldCurrencySymbol,
  59. Wrapped<String?>? inventoryTypeId,
  60. Wrapped<String?>? replacementInventoryId,
  61. Wrapped<String?>? replacementItemId,
  62. Wrapped<String?>? replacementItemICode,
  63. Wrapped<String?>? replacementItemDescription,
  64. Wrapped<String?>? replacementItemBarCode,
  65. Wrapped<String?>? replacementItemSerialNumber,
  66. Wrapped<bool?>? changeICode,
  67. Wrapped<String?>? donatedOrderId,
  68. Wrapped<String?>? donatedOrderNumber,
  69. Wrapped<String?>? donatedDate,
  70. Wrapped<String?>? donatedToName,
  71. Wrapped<String?>? donatedToAddress1,
  72. Wrapped<String?>? donatedToAddress2,
  73. Wrapped<String?>? donatedToCity,
  74. Wrapped<String?>? donatedToState,
  75. Wrapped<String?>? donatedToZipCode,
  76. Wrapped<String?>? donatedToPhone,
  77. Wrapped<String?>? donatedToCountryId,
  78. Wrapped<String?>? donatedToCountry,
  79. Wrapped<String?>? donatedToCountryCodeIsoAlpha2,
  80. Wrapped<int?>? donatedToCountryCodePhone,
  81. Wrapped<String?>? donatedCurrencyId,
  82. Wrapped<String?>? donatedCurrency,
  83. Wrapped<String?>? donatedCurrencyCode,
  84. Wrapped<String?>? donatedCurrencySymbol,
  85. Wrapped<String?>? auditNote,
  86. Wrapped<String?>? recordTitle,
  87. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  88. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  89. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  90. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesInventoryRetiredRetired copyWithWrapped(
    {Wrapped<String?>? retiredId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<String?>? barCode,
    Wrapped<String?>? itemId,
    Wrapped<String?>? serialNumber,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? consignorId,
    Wrapped<String?>? consignor,
    Wrapped<String?>? consignorAgreementId,
    Wrapped<String?>? agreementNumber,
    Wrapped<String?>? retiredDate,
    Wrapped<String?>? retiredReason,
    Wrapped<String?>? retiredReasonType,
    Wrapped<String?>? retiredBy,
    Wrapped<String?>? retiredReasonId,
    Wrapped<String?>? retiredByUserId,
    Wrapped<String?>? retiredNotes,
    Wrapped<double?>? retiredQuantity,
    Wrapped<double?>? unretiredQuantity,
    Wrapped<String?>? lostOrderId,
    Wrapped<String?>? lostOrderNumber,
    Wrapped<String?>? lostName,
    Wrapped<String?>? lostAddress1,
    Wrapped<String?>? lostAddress2,
    Wrapped<String?>? lostCity,
    Wrapped<String?>? lostState,
    Wrapped<String?>? lostZipCode,
    Wrapped<String?>? lostPhone,
    Wrapped<String?>? lostCountryId,
    Wrapped<String?>? lostCountry,
    Wrapped<String?>? lostCountryCodeIsoAlpha2,
    Wrapped<int?>? lostCountryCodePhone,
    Wrapped<String?>? soldToOrderDescription,
    Wrapped<String?>? soldToOrderReferenceNumber,
    Wrapped<String?>? soldToOrderId,
    Wrapped<String?>? soldToOrderItemId,
    Wrapped<String?>? soldToOrderNumber,
    Wrapped<String?>? soldDate,
    Wrapped<double?>? soldAmount,
    Wrapped<String?>? soldToName,
    Wrapped<String?>? soldToAddress1,
    Wrapped<String?>? soldToAddress2,
    Wrapped<String?>? soldToCity,
    Wrapped<String?>? soldToState,
    Wrapped<String?>? soldToZipCode,
    Wrapped<String?>? soldToPhone,
    Wrapped<String?>? soldToCountryId,
    Wrapped<String?>? soldToCountry,
    Wrapped<String?>? soldToCountryCodeIsoAlpha2,
    Wrapped<int?>? soldToCountryCodePhone,
    Wrapped<String?>? soldCurrencyId,
    Wrapped<String?>? soldCurrency,
    Wrapped<String?>? soldCurrencyCode,
    Wrapped<String?>? soldCurrencySymbol,
    Wrapped<String?>? inventoryTypeId,
    Wrapped<String?>? replacementInventoryId,
    Wrapped<String?>? replacementItemId,
    Wrapped<String?>? replacementItemICode,
    Wrapped<String?>? replacementItemDescription,
    Wrapped<String?>? replacementItemBarCode,
    Wrapped<String?>? replacementItemSerialNumber,
    Wrapped<bool?>? changeICode,
    Wrapped<String?>? donatedOrderId,
    Wrapped<String?>? donatedOrderNumber,
    Wrapped<String?>? donatedDate,
    Wrapped<String?>? donatedToName,
    Wrapped<String?>? donatedToAddress1,
    Wrapped<String?>? donatedToAddress2,
    Wrapped<String?>? donatedToCity,
    Wrapped<String?>? donatedToState,
    Wrapped<String?>? donatedToZipCode,
    Wrapped<String?>? donatedToPhone,
    Wrapped<String?>? donatedToCountryId,
    Wrapped<String?>? donatedToCountry,
    Wrapped<String?>? donatedToCountryCodeIsoAlpha2,
    Wrapped<int?>? donatedToCountryCodePhone,
    Wrapped<String?>? donatedCurrencyId,
    Wrapped<String?>? donatedCurrency,
    Wrapped<String?>? donatedCurrencyCode,
    Wrapped<String?>? donatedCurrencySymbol,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesInventoryRetiredRetired(
      retiredId: (retiredId != null ? retiredId.value : this.retiredId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      barCode: (barCode != null ? barCode.value : this.barCode),
      itemId: (itemId != null ? itemId.value : this.itemId),
      serialNumber:
          (serialNumber != null ? serialNumber.value : this.serialNumber),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      consignorId:
          (consignorId != null ? consignorId.value : this.consignorId),
      consignor: (consignor != null ? consignor.value : this.consignor),
      consignorAgreementId: (consignorAgreementId != null
          ? consignorAgreementId.value
          : this.consignorAgreementId),
      agreementNumber: (agreementNumber != null
          ? agreementNumber.value
          : this.agreementNumber),
      retiredDate:
          (retiredDate != null ? retiredDate.value : this.retiredDate),
      retiredReason:
          (retiredReason != null ? retiredReason.value : this.retiredReason),
      retiredReasonType: (retiredReasonType != null
          ? retiredReasonType.value
          : this.retiredReasonType),
      retiredBy: (retiredBy != null ? retiredBy.value : this.retiredBy),
      retiredReasonId: (retiredReasonId != null
          ? retiredReasonId.value
          : this.retiredReasonId),
      retiredByUserId: (retiredByUserId != null
          ? retiredByUserId.value
          : this.retiredByUserId),
      retiredNotes:
          (retiredNotes != null ? retiredNotes.value : this.retiredNotes),
      retiredQuantity: (retiredQuantity != null
          ? retiredQuantity.value
          : this.retiredQuantity),
      unretiredQuantity: (unretiredQuantity != null
          ? unretiredQuantity.value
          : this.unretiredQuantity),
      lostOrderId:
          (lostOrderId != null ? lostOrderId.value : this.lostOrderId),
      lostOrderNumber: (lostOrderNumber != null
          ? lostOrderNumber.value
          : this.lostOrderNumber),
      lostName: (lostName != null ? lostName.value : this.lostName),
      lostAddress1:
          (lostAddress1 != null ? lostAddress1.value : this.lostAddress1),
      lostAddress2:
          (lostAddress2 != null ? lostAddress2.value : this.lostAddress2),
      lostCity: (lostCity != null ? lostCity.value : this.lostCity),
      lostState: (lostState != null ? lostState.value : this.lostState),
      lostZipCode:
          (lostZipCode != null ? lostZipCode.value : this.lostZipCode),
      lostPhone: (lostPhone != null ? lostPhone.value : this.lostPhone),
      lostCountryId:
          (lostCountryId != null ? lostCountryId.value : this.lostCountryId),
      lostCountry:
          (lostCountry != null ? lostCountry.value : this.lostCountry),
      lostCountryCodeIsoAlpha2: (lostCountryCodeIsoAlpha2 != null
          ? lostCountryCodeIsoAlpha2.value
          : this.lostCountryCodeIsoAlpha2),
      lostCountryCodePhone: (lostCountryCodePhone != null
          ? lostCountryCodePhone.value
          : this.lostCountryCodePhone),
      soldToOrderDescription: (soldToOrderDescription != null
          ? soldToOrderDescription.value
          : this.soldToOrderDescription),
      soldToOrderReferenceNumber: (soldToOrderReferenceNumber != null
          ? soldToOrderReferenceNumber.value
          : this.soldToOrderReferenceNumber),
      soldToOrderId:
          (soldToOrderId != null ? soldToOrderId.value : this.soldToOrderId),
      soldToOrderItemId: (soldToOrderItemId != null
          ? soldToOrderItemId.value
          : this.soldToOrderItemId),
      soldToOrderNumber: (soldToOrderNumber != null
          ? soldToOrderNumber.value
          : this.soldToOrderNumber),
      soldDate: (soldDate != null ? soldDate.value : this.soldDate),
      soldAmount: (soldAmount != null ? soldAmount.value : this.soldAmount),
      soldToName: (soldToName != null ? soldToName.value : this.soldToName),
      soldToAddress1: (soldToAddress1 != null
          ? soldToAddress1.value
          : this.soldToAddress1),
      soldToAddress2: (soldToAddress2 != null
          ? soldToAddress2.value
          : this.soldToAddress2),
      soldToCity: (soldToCity != null ? soldToCity.value : this.soldToCity),
      soldToState:
          (soldToState != null ? soldToState.value : this.soldToState),
      soldToZipCode:
          (soldToZipCode != null ? soldToZipCode.value : this.soldToZipCode),
      soldToPhone:
          (soldToPhone != null ? soldToPhone.value : this.soldToPhone),
      soldToCountryId: (soldToCountryId != null
          ? soldToCountryId.value
          : this.soldToCountryId),
      soldToCountry:
          (soldToCountry != null ? soldToCountry.value : this.soldToCountry),
      soldToCountryCodeIsoAlpha2: (soldToCountryCodeIsoAlpha2 != null
          ? soldToCountryCodeIsoAlpha2.value
          : this.soldToCountryCodeIsoAlpha2),
      soldToCountryCodePhone: (soldToCountryCodePhone != null
          ? soldToCountryCodePhone.value
          : this.soldToCountryCodePhone),
      soldCurrencyId: (soldCurrencyId != null
          ? soldCurrencyId.value
          : this.soldCurrencyId),
      soldCurrency:
          (soldCurrency != null ? soldCurrency.value : this.soldCurrency),
      soldCurrencyCode: (soldCurrencyCode != null
          ? soldCurrencyCode.value
          : this.soldCurrencyCode),
      soldCurrencySymbol: (soldCurrencySymbol != null
          ? soldCurrencySymbol.value
          : this.soldCurrencySymbol),
      inventoryTypeId: (inventoryTypeId != null
          ? inventoryTypeId.value
          : this.inventoryTypeId),
      replacementInventoryId: (replacementInventoryId != null
          ? replacementInventoryId.value
          : this.replacementInventoryId),
      replacementItemId: (replacementItemId != null
          ? replacementItemId.value
          : this.replacementItemId),
      replacementItemICode: (replacementItemICode != null
          ? replacementItemICode.value
          : this.replacementItemICode),
      replacementItemDescription: (replacementItemDescription != null
          ? replacementItemDescription.value
          : this.replacementItemDescription),
      replacementItemBarCode: (replacementItemBarCode != null
          ? replacementItemBarCode.value
          : this.replacementItemBarCode),
      replacementItemSerialNumber: (replacementItemSerialNumber != null
          ? replacementItemSerialNumber.value
          : this.replacementItemSerialNumber),
      changeICode:
          (changeICode != null ? changeICode.value : this.changeICode),
      donatedOrderId: (donatedOrderId != null
          ? donatedOrderId.value
          : this.donatedOrderId),
      donatedOrderNumber: (donatedOrderNumber != null
          ? donatedOrderNumber.value
          : this.donatedOrderNumber),
      donatedDate:
          (donatedDate != null ? donatedDate.value : this.donatedDate),
      donatedToName:
          (donatedToName != null ? donatedToName.value : this.donatedToName),
      donatedToAddress1: (donatedToAddress1 != null
          ? donatedToAddress1.value
          : this.donatedToAddress1),
      donatedToAddress2: (donatedToAddress2 != null
          ? donatedToAddress2.value
          : this.donatedToAddress2),
      donatedToCity:
          (donatedToCity != null ? donatedToCity.value : this.donatedToCity),
      donatedToState: (donatedToState != null
          ? donatedToState.value
          : this.donatedToState),
      donatedToZipCode: (donatedToZipCode != null ? donatedToZipCode.value : this.donatedToZipCode),
      donatedToPhone: (donatedToPhone != null ? donatedToPhone.value : this.donatedToPhone),
      donatedToCountryId: (donatedToCountryId != null ? donatedToCountryId.value : this.donatedToCountryId),
      donatedToCountry: (donatedToCountry != null ? donatedToCountry.value : this.donatedToCountry),
      donatedToCountryCodeIsoAlpha2: (donatedToCountryCodeIsoAlpha2 != null ? donatedToCountryCodeIsoAlpha2.value : this.donatedToCountryCodeIsoAlpha2),
      donatedToCountryCodePhone: (donatedToCountryCodePhone != null ? donatedToCountryCodePhone.value : this.donatedToCountryCodePhone),
      donatedCurrencyId: (donatedCurrencyId != null ? donatedCurrencyId.value : this.donatedCurrencyId),
      donatedCurrency: (donatedCurrency != null ? donatedCurrency.value : this.donatedCurrency),
      donatedCurrencyCode: (donatedCurrencyCode != null ? donatedCurrencyCode.value : this.donatedCurrencyCode),
      donatedCurrencySymbol: (donatedCurrencySymbol != null ? donatedCurrencySymbol.value : this.donatedCurrencySymbol),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null ? defaultFieldAttributes.value : this.defaultFieldAttributes),
      translation: (translation != null ? translation.value : this.translation));
}