copyWithWrapped method

WebApiModulesHomeControlsInventoryConsignorInventoryConsignor copyWithWrapped({
  1. Wrapped<String?>? consignorId,
  2. Wrapped<String?>? consignorAgreementId,
  3. Wrapped<String?>? consignor,
  4. Wrapped<String?>? agreementNumber,
  5. Wrapped<String?>? agreementDescription,
  6. Wrapped<String?>? inventoryId,
  7. Wrapped<String?>? iCode,
  8. Wrapped<String?>? description,
  9. Wrapped<String?>? trackedBy,
  10. Wrapped<bool?>? treatConsignedQtyAsOwned,
  11. Wrapped<int?>? qtyConsigned,
  12. Wrapped<int?>? consignorPercent,
  13. Wrapped<int?>? housePercent,
  14. Wrapped<bool?>? flatRate,
  15. Wrapped<double?>? flatRateAmount,
  16. Wrapped<String?>? itemId,
  17. Wrapped<String?>? barCode,
  18. Wrapped<String?>? serialNumber,
  19. Wrapped<String?>? inventoryStatusId,
  20. Wrapped<String?>? inventoryStatus,
  21. Wrapped<String?>? inventoryStatusType,
  22. Wrapped<String?>? warehouseId,
  23. Wrapped<String?>? warehouse,
  24. Wrapped<String?>? warehouseCode,
  25. Wrapped<String?>? textColor,
  26. Wrapped<String?>? color,
  27. Wrapped<String?>? auditNote,
  28. Wrapped<String?>? recordTitle,
  29. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  30. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  31. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  32. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryConsignorInventoryConsignor copyWithWrapped(
    {Wrapped<String?>? consignorId,
    Wrapped<String?>? consignorAgreementId,
    Wrapped<String?>? consignor,
    Wrapped<String?>? agreementNumber,
    Wrapped<String?>? agreementDescription,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<String?>? trackedBy,
    Wrapped<bool?>? treatConsignedQtyAsOwned,
    Wrapped<int?>? qtyConsigned,
    Wrapped<int?>? consignorPercent,
    Wrapped<int?>? housePercent,
    Wrapped<bool?>? flatRate,
    Wrapped<double?>? flatRateAmount,
    Wrapped<String?>? itemId,
    Wrapped<String?>? barCode,
    Wrapped<String?>? serialNumber,
    Wrapped<String?>? inventoryStatusId,
    Wrapped<String?>? inventoryStatus,
    Wrapped<String?>? inventoryStatusType,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? textColor,
    Wrapped<String?>? color,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsInventoryConsignorInventoryConsignor(
      consignorId:
          (consignorId != null ? consignorId.value : this.consignorId),
      consignorAgreementId: (consignorAgreementId != null
          ? consignorAgreementId.value
          : this.consignorAgreementId),
      consignor: (consignor != null ? consignor.value : this.consignor),
      agreementNumber: (agreementNumber != null
          ? agreementNumber.value
          : this.agreementNumber),
      agreementDescription: (agreementDescription != null
          ? agreementDescription.value
          : this.agreementDescription),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
      treatConsignedQtyAsOwned: (treatConsignedQtyAsOwned != null
          ? treatConsignedQtyAsOwned.value
          : this.treatConsignedQtyAsOwned),
      qtyConsigned:
          (qtyConsigned != null ? qtyConsigned.value : this.qtyConsigned),
      consignorPercent: (consignorPercent != null
          ? consignorPercent.value
          : this.consignorPercent),
      housePercent:
          (housePercent != null ? housePercent.value : this.housePercent),
      flatRate: (flatRate != null ? flatRate.value : this.flatRate),
      flatRateAmount: (flatRateAmount != null
          ? flatRateAmount.value
          : this.flatRateAmount),
      itemId: (itemId != null ? itemId.value : this.itemId),
      barCode: (barCode != null ? barCode.value : this.barCode),
      serialNumber:
          (serialNumber != null ? serialNumber.value : this.serialNumber),
      inventoryStatusId: (inventoryStatusId != null
          ? inventoryStatusId.value
          : this.inventoryStatusId),
      inventoryStatus: (inventoryStatus != null
          ? inventoryStatus.value
          : this.inventoryStatus),
      inventoryStatusType: (inventoryStatusType != null
          ? inventoryStatusType.value
          : this.inventoryStatusType),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      textColor: (textColor != null ? textColor.value : this.textColor),
      color: (color != null ? color.value : this.color),
      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));
}