copyWithWrapped method

WebApiModulesUtilitiesInventoryMergeInventoryMerge copyWithWrapped({
  1. Wrapped<int?>? inventoryMergeId,
  2. Wrapped<String?>? sessionId,
  3. Wrapped<String?>? fromInventoryId,
  4. Wrapped<String?>? fromICode,
  5. Wrapped<String?>? fromDescription,
  6. Wrapped<String?>? toInventoryId,
  7. Wrapped<String?>? toICode,
  8. Wrapped<String?>? toDescription,
  9. Wrapped<String?>? warehouseId,
  10. Wrapped<String?>? warehouse,
  11. Wrapped<String?>? dateStamp,
  12. Wrapped<String?>? auditNote,
  13. Wrapped<String?>? recordTitle,
  14. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  15. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  16. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  17. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesUtilitiesInventoryMergeInventoryMerge copyWithWrapped(
    {Wrapped<int?>? inventoryMergeId,
    Wrapped<String?>? sessionId,
    Wrapped<String?>? fromInventoryId,
    Wrapped<String?>? fromICode,
    Wrapped<String?>? fromDescription,
    Wrapped<String?>? toInventoryId,
    Wrapped<String?>? toICode,
    Wrapped<String?>? toDescription,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesUtilitiesInventoryMergeInventoryMerge(
      inventoryMergeId: (inventoryMergeId != null
          ? inventoryMergeId.value
          : this.inventoryMergeId),
      sessionId: (sessionId != null ? sessionId.value : this.sessionId),
      fromInventoryId: (fromInventoryId != null
          ? fromInventoryId.value
          : this.fromInventoryId),
      fromICode: (fromICode != null ? fromICode.value : this.fromICode),
      fromDescription: (fromDescription != null
          ? fromDescription.value
          : this.fromDescription),
      toInventoryId:
          (toInventoryId != null ? toInventoryId.value : this.toInventoryId),
      toICode: (toICode != null ? toICode.value : this.toICode),
      toDescription:
          (toDescription != null ? toDescription.value : this.toDescription),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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));
}