copyWithWrapped method

WebApiModulesHomeControlsInventorySubstituteInventorySubstitute copyWithWrapped({
  1. Wrapped<String?>? inventorySubstituteId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? substituteInventoryId,
  4. Wrapped<String?>? iCode,
  5. Wrapped<String?>? description,
  6. Wrapped<String?>? manufacturerId,
  7. Wrapped<String?>? manufacturer,
  8. Wrapped<double?>? rate,
  9. Wrapped<String?>? dateStamp,
  10. Wrapped<String?>? auditNote,
  11. Wrapped<String?>? recordTitle,
  12. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  13. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  14. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  15. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInventorySubstituteInventorySubstitute
    copyWithWrapped(
        {Wrapped<String?>? inventorySubstituteId,
        Wrapped<String?>? inventoryId,
        Wrapped<String?>? substituteInventoryId,
        Wrapped<String?>? iCode,
        Wrapped<String?>? description,
        Wrapped<String?>? manufacturerId,
        Wrapped<String?>? manufacturer,
        Wrapped<double?>? rate,
        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 WebApiModulesHomeControlsInventorySubstituteInventorySubstitute(
      inventorySubstituteId: (inventorySubstituteId != null
          ? inventorySubstituteId.value
          : this.inventorySubstituteId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      substituteInventoryId: (substituteInventoryId != null
          ? substituteInventoryId.value
          : this.substituteInventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      manufacturerId: (manufacturerId != null
          ? manufacturerId.value
          : this.manufacturerId),
      manufacturer:
          (manufacturer != null ? manufacturer.value : this.manufacturer),
      rate: (rate != null ? rate.value : this.rate),
      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));
}