copyWith method

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

Implementation

WebApiModulesHomeControlsAddressAddress copyWith(
    {String? addressId,
    String? name,
    String? attention,
    String? attention2,
    String? address1,
    String? address2,
    String? city,
    String? state,
    String? countryId,
    String? country,
    String? zipCode,
    String? phone,
    String? fax,
    String? phoneTollFree,
    String? phoneOther,
    String? uniqueId1,
    String? uniqueId2,
    String? uniqueId3,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsAddressAddress(
      addressId: addressId ?? this.addressId,
      name: name ?? this.name,
      attention: attention ?? this.attention,
      attention2: attention2 ?? this.attention2,
      address1: address1 ?? this.address1,
      address2: address2 ?? this.address2,
      city: city ?? this.city,
      state: state ?? this.state,
      countryId: countryId ?? this.countryId,
      country: country ?? this.country,
      zipCode: zipCode ?? this.zipCode,
      phone: phone ?? this.phone,
      fax: fax ?? this.fax,
      phoneTollFree: phoneTollFree ?? this.phoneTollFree,
      phoneOther: phoneOther ?? this.phoneOther,
      uniqueId1: uniqueId1 ?? this.uniqueId1,
      uniqueId2: uniqueId2 ?? this.uniqueId2,
      uniqueId3: uniqueId3 ?? this.uniqueId3,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}