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? urlIdentifier,
  15. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  16. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  17. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  18. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  19. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  20. Wrapped<bool?>? hasImport,
  21. Wrapped<String?>? createdByUserId,
  22. Wrapped<String?>? createdByUserName,
  23. Wrapped<String?>? createdDateTime,
  24. Wrapped<String?>? modifiedByUserId,
  25. Wrapped<String?>? modifiedByUserName,
  26. Wrapped<String?>? modifiedDateTime,
})

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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}