copyWith method

WebApiModulesHomeAddressAddress 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. dynamic urlIdentifier,
  23. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  24. List<FwStandardDataFwCustomValue>? custom,
  25. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  26. FwStandardBusinessLogicFwBusinessLogic? original,
  27. List<FwStandardDataFwTranslatedValue>? translation,
  28. bool? hasImport,
  29. bool? hasDocuments,
  30. String? createdByUserId,
  31. String? createdByUserName,
  32. String? createdDateTime,
  33. String? modifiedByUserId,
  34. String? modifiedByUserName,
  35. String? modifiedDateTime,
})

Implementation

WebApiModulesHomeAddressAddress 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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesHomeAddressAddress(
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}