copyWithWrapped method

WebApiModulesHomeAlternativeDescriptionAlternativeDescription copyWithWrapped({
  1. Wrapped<int?>? alternativeDescriptionId,
  2. Wrapped<bool?>? internalChar,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<String?>? iCode,
  5. Wrapped<String?>? description,
  6. Wrapped<String?>? aka,
  7. Wrapped<bool?>? allowedOnInvoice,
  8. Wrapped<bool?>? isPrimary,
  9. Wrapped<bool?>? inactive,
  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

WebApiModulesHomeAlternativeDescriptionAlternativeDescription
copyWithWrapped({
  Wrapped<int?>? alternativeDescriptionId,
  Wrapped<bool?>? internalChar,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? iCode,
  Wrapped<String?>? description,
  Wrapped<String?>? aka,
  Wrapped<bool?>? allowedOnInvoice,
  Wrapped<bool?>? isPrimary,
  Wrapped<bool?>? inactive,
  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 WebApiModulesHomeAlternativeDescriptionAlternativeDescription(
    alternativeDescriptionId: (alternativeDescriptionId != null
        ? alternativeDescriptionId.value
        : this.alternativeDescriptionId),
    internalChar: (internalChar != null
        ? internalChar.value
        : this.internalChar),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    iCode: (iCode != null ? iCode.value : this.iCode),
    description: (description != null ? description.value : this.description),
    aka: (aka != null ? aka.value : this.aka),
    allowedOnInvoice: (allowedOnInvoice != null
        ? allowedOnInvoice.value
        : this.allowedOnInvoice),
    isPrimary: (isPrimary != null ? isPrimary.value : this.isPrimary),
    inactive: (inactive != null ? inactive.value : this.inactive),
    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),
  );
}