copyWithWrapped method

WebApiModulesHomeControlsAddressAddress copyWithWrapped({
  1. Wrapped<String?>? addressId,
  2. Wrapped<String?>? name,
  3. Wrapped<String?>? attention,
  4. Wrapped<String?>? attention2,
  5. Wrapped<String?>? address1,
  6. Wrapped<String?>? address2,
  7. Wrapped<String?>? city,
  8. Wrapped<String?>? state,
  9. Wrapped<String?>? countryId,
  10. Wrapped<String?>? country,
  11. Wrapped<String?>? zipCode,
  12. Wrapped<String?>? phone,
  13. Wrapped<String?>? fax,
  14. Wrapped<String?>? phoneTollFree,
  15. Wrapped<String?>? phoneOther,
  16. Wrapped<String?>? uniqueId1,
  17. Wrapped<String?>? uniqueId2,
  18. Wrapped<String?>? uniqueId3,
  19. Wrapped<String?>? dateStamp,
  20. Wrapped<String?>? auditNote,
  21. Wrapped<String?>? recordTitle,
  22. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  23. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  24. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  25. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsAddressAddress copyWithWrapped(
    {Wrapped<String?>? addressId,
    Wrapped<String?>? name,
    Wrapped<String?>? attention,
    Wrapped<String?>? attention2,
    Wrapped<String?>? address1,
    Wrapped<String?>? address2,
    Wrapped<String?>? city,
    Wrapped<String?>? state,
    Wrapped<String?>? countryId,
    Wrapped<String?>? country,
    Wrapped<String?>? zipCode,
    Wrapped<String?>? phone,
    Wrapped<String?>? fax,
    Wrapped<String?>? phoneTollFree,
    Wrapped<String?>? phoneOther,
    Wrapped<String?>? uniqueId1,
    Wrapped<String?>? uniqueId2,
    Wrapped<String?>? uniqueId3,
    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 WebApiModulesHomeControlsAddressAddress(
      addressId: (addressId != null ? addressId.value : this.addressId),
      name: (name != null ? name.value : this.name),
      attention: (attention != null ? attention.value : this.attention),
      attention2: (attention2 != null ? attention2.value : this.attention2),
      address1: (address1 != null ? address1.value : this.address1),
      address2: (address2 != null ? address2.value : this.address2),
      city: (city != null ? city.value : this.city),
      state: (state != null ? state.value : this.state),
      countryId: (countryId != null ? countryId.value : this.countryId),
      country: (country != null ? country.value : this.country),
      zipCode: (zipCode != null ? zipCode.value : this.zipCode),
      phone: (phone != null ? phone.value : this.phone),
      fax: (fax != null ? fax.value : this.fax),
      phoneTollFree:
          (phoneTollFree != null ? phoneTollFree.value : this.phoneTollFree),
      phoneOther: (phoneOther != null ? phoneOther.value : this.phoneOther),
      uniqueId1: (uniqueId1 != null ? uniqueId1.value : this.uniqueId1),
      uniqueId2: (uniqueId2 != null ? uniqueId2.value : this.uniqueId2),
      uniqueId3: (uniqueId3 != null ? uniqueId3.value : this.uniqueId3),
      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));
}