copyWithWrapped method

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseItem copyWithWrapped({
  1. Wrapped<int?>? inventoryPurchaseItemId,
  2. Wrapped<String?>? sessionId,
  3. Wrapped<String?>? barCode,
  4. Wrapped<String?>? manufactureDate,
  5. Wrapped<int?>? printQuantity,
  6. Wrapped<String?>? serialNumber,
  7. Wrapped<String?>? rfId,
  8. Wrapped<bool?>? serialNumberIsMixedCase,
  9. Wrapped<String?>? dateStamp,
  10. Wrapped<String?>? auditNote,
  11. Wrapped<String?>? recordTitle,
  12. Wrapped? urlIdentifier,
  13. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  14. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  15. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  16. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  17. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  18. Wrapped<bool?>? hasImport,
  19. Wrapped<bool?>? hasDocuments,
  20. Wrapped<String?>? createdByUserId,
  21. Wrapped<String?>? createdByUserName,
  22. Wrapped<String?>? createdDateTime,
  23. Wrapped<String?>? modifiedByUserId,
  24. Wrapped<String?>? modifiedByUserName,
  25. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseItem
copyWithWrapped({
  Wrapped<int?>? inventoryPurchaseItemId,
  Wrapped<String?>? sessionId,
  Wrapped<String?>? barCode,
  Wrapped<String?>? manufactureDate,
  Wrapped<int?>? printQuantity,
  Wrapped<String?>? serialNumber,
  Wrapped<String?>? rfId,
  Wrapped<bool?>? serialNumberIsMixedCase,
  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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseItem(
    inventoryPurchaseItemId: (inventoryPurchaseItemId != null
        ? inventoryPurchaseItemId.value
        : this.inventoryPurchaseItemId),
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    barCode: (barCode != null ? barCode.value : this.barCode),
    manufactureDate: (manufactureDate != null
        ? manufactureDate.value
        : this.manufactureDate),
    printQuantity: (printQuantity != null
        ? printQuantity.value
        : this.printQuantity),
    serialNumber: (serialNumber != null
        ? serialNumber.value
        : this.serialNumber),
    rfId: (rfId != null ? rfId.value : this.rfId),
    serialNumberIsMixedCase: (serialNumberIsMixedCase != null
        ? serialNumberIsMixedCase.value
        : this.serialNumberIsMixedCase),
    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),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    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),
  );
}