copyWithWrapped method

WebApiModulesAgentContactContact copyWithWrapped({
  1. Wrapped<String?>? contactId,
  2. Wrapped<String?>? activeDate,
  3. Wrapped<String?>? address1,
  4. Wrapped<String?>? address2,
  5. Wrapped<String?>? barcode,
  6. Wrapped<String?>? city,
  7. Wrapped<String?>? contactRecordType,
  8. Wrapped<String?>? contactRecordTypeColor,
  9. Wrapped<String?>? contactTitleId,
  10. Wrapped<String?>? contactTitle,
  11. Wrapped<String?>? country,
  12. Wrapped<String?>? countryId,
  13. Wrapped<String?>? countryCodeIsoAlpha2,
  14. Wrapped<int?>? countryCodePhone,
  15. Wrapped<String?>? dateStamp,
  16. Wrapped<String?>? directExtension,
  17. Wrapped<String?>? directPhone,
  18. Wrapped<String?>? email,
  19. Wrapped<String?>? fax,
  20. Wrapped<String?>? faxExtension,
  21. Wrapped<String?>? firstName,
  22. Wrapped<String?>? firstNameColor,
  23. Wrapped<String?>? homePhone,
  24. Wrapped<bool?>? inactive,
  25. Wrapped<String?>? inactiveDate,
  26. Wrapped<String?>? info,
  27. Wrapped<String?>? inputDate,
  28. Wrapped<String?>? modifiedDate,
  29. Wrapped<String?>? lastName,
  30. Wrapped<String?>? middleInitial,
  31. Wrapped<String?>? mobilePhone,
  32. Wrapped<String?>? nameFirstMiddleLast,
  33. Wrapped<String?>? officeExtension,
  34. Wrapped<String?>? officePhone,
  35. Wrapped<String?>? pager,
  36. Wrapped<String?>? pagerPin,
  37. Wrapped<String?>? person,
  38. Wrapped<String?>? salutation,
  39. Wrapped<String?>? website,
  40. Wrapped<String?>? webStatus,
  41. Wrapped<String?>? zipCode,
  42. Wrapped<String?>? state,
  43. Wrapped<String?>? sourceId,
  44. Wrapped<String?>? userId,
  45. Wrapped<String?>? password,
  46. Wrapped<bool?>? changePasswordAtNextLogin,
  47. Wrapped<bool?>? expirePassword,
  48. Wrapped<int?>? expireDays,
  49. Wrapped<String?>? passwordLastUpdated,
  50. Wrapped<String?>? webUserId,
  51. Wrapped<String?>? webUserContactId,
  52. Wrapped<String?>? webUserUserId,
  53. Wrapped<bool?>? webAccess,
  54. Wrapped<bool?>? lockAccount,
  55. Wrapped<String?>? defaultDealId,
  56. Wrapped<String?>? defaultDeal,
  57. Wrapped<String?>? storefrontCatalogId,
  58. Wrapped<String?>? storefrontCatalog,
  59. Wrapped<String?>? locationId,
  60. Wrapped<String?>? location,
  61. Wrapped<String?>? warehouseId,
  62. Wrapped<String?>? warehouse,
  63. Wrapped<bool?>? webQuoteRequest,
  64. Wrapped<String?>? departmentId,
  65. Wrapped<String?>? department,
  66. Wrapped<bool?>? isAccountsPayable,
  67. Wrapped<bool?>? isAccountsReceivable,
  68. Wrapped<bool?>? buyer,
  69. Wrapped<bool?>? responsiblePerson,
  70. Wrapped<String?>? auditNote,
  71. Wrapped<String?>? recordTitle,
  72. Wrapped? urlIdentifier,
  73. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  74. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  75. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  76. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  77. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  78. Wrapped<bool?>? hasImport,
  79. Wrapped<bool?>? hasDocuments,
  80. Wrapped<String?>? createdByUserId,
  81. Wrapped<String?>? createdByUserName,
  82. Wrapped<String?>? createdDateTime,
  83. Wrapped<String?>? modifiedByUserId,
  84. Wrapped<String?>? modifiedByUserName,
  85. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesAgentContactContact copyWithWrapped({
  Wrapped<String?>? contactId,
  Wrapped<String?>? activeDate,
  Wrapped<String?>? address1,
  Wrapped<String?>? address2,
  Wrapped<String?>? barcode,
  Wrapped<String?>? city,
  Wrapped<String?>? contactRecordType,
  Wrapped<String?>? contactRecordTypeColor,
  Wrapped<String?>? contactTitleId,
  Wrapped<String?>? contactTitle,
  Wrapped<String?>? country,
  Wrapped<String?>? countryId,
  Wrapped<String?>? countryCodeIsoAlpha2,
  Wrapped<int?>? countryCodePhone,
  Wrapped<String?>? dateStamp,
  Wrapped<String?>? directExtension,
  Wrapped<String?>? directPhone,
  Wrapped<String?>? email,
  Wrapped<String?>? fax,
  Wrapped<String?>? faxExtension,
  Wrapped<String?>? firstName,
  Wrapped<String?>? firstNameColor,
  Wrapped<String?>? homePhone,
  Wrapped<bool?>? inactive,
  Wrapped<String?>? inactiveDate,
  Wrapped<String?>? info,
  Wrapped<String?>? inputDate,
  Wrapped<String?>? modifiedDate,
  Wrapped<String?>? lastName,
  Wrapped<String?>? middleInitial,
  Wrapped<String?>? mobilePhone,
  Wrapped<String?>? nameFirstMiddleLast,
  Wrapped<String?>? officeExtension,
  Wrapped<String?>? officePhone,
  Wrapped<String?>? pager,
  Wrapped<String?>? pagerPin,
  Wrapped<String?>? person,
  Wrapped<String?>? salutation,
  Wrapped<String?>? website,
  Wrapped<String?>? webStatus,
  Wrapped<String?>? zipCode,
  Wrapped<String?>? state,
  Wrapped<String?>? sourceId,
  Wrapped<String?>? userId,
  Wrapped<String?>? password,
  Wrapped<bool?>? changePasswordAtNextLogin,
  Wrapped<bool?>? expirePassword,
  Wrapped<int?>? expireDays,
  Wrapped<String?>? passwordLastUpdated,
  Wrapped<String?>? webUserId,
  Wrapped<String?>? webUserContactId,
  Wrapped<String?>? webUserUserId,
  Wrapped<bool?>? webAccess,
  Wrapped<bool?>? lockAccount,
  Wrapped<String?>? defaultDealId,
  Wrapped<String?>? defaultDeal,
  Wrapped<String?>? storefrontCatalogId,
  Wrapped<String?>? storefrontCatalog,
  Wrapped<String?>? locationId,
  Wrapped<String?>? location,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouse,
  Wrapped<bool?>? webQuoteRequest,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? department,
  Wrapped<bool?>? isAccountsPayable,
  Wrapped<bool?>? isAccountsReceivable,
  Wrapped<bool?>? buyer,
  Wrapped<bool?>? responsiblePerson,
  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 WebApiModulesAgentContactContact(
    contactId: (contactId != null ? contactId.value : this.contactId),
    activeDate: (activeDate != null ? activeDate.value : this.activeDate),
    address1: (address1 != null ? address1.value : this.address1),
    address2: (address2 != null ? address2.value : this.address2),
    barcode: (barcode != null ? barcode.value : this.barcode),
    city: (city != null ? city.value : this.city),
    contactRecordType: (contactRecordType != null
        ? contactRecordType.value
        : this.contactRecordType),
    contactRecordTypeColor: (contactRecordTypeColor != null
        ? contactRecordTypeColor.value
        : this.contactRecordTypeColor),
    contactTitleId: (contactTitleId != null
        ? contactTitleId.value
        : this.contactTitleId),
    contactTitle: (contactTitle != null
        ? contactTitle.value
        : this.contactTitle),
    country: (country != null ? country.value : this.country),
    countryId: (countryId != null ? countryId.value : this.countryId),
    countryCodeIsoAlpha2: (countryCodeIsoAlpha2 != null
        ? countryCodeIsoAlpha2.value
        : this.countryCodeIsoAlpha2),
    countryCodePhone: (countryCodePhone != null
        ? countryCodePhone.value
        : this.countryCodePhone),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    directExtension: (directExtension != null
        ? directExtension.value
        : this.directExtension),
    directPhone: (directPhone != null ? directPhone.value : this.directPhone),
    email: (email != null ? email.value : this.email),
    fax: (fax != null ? fax.value : this.fax),
    faxExtension: (faxExtension != null
        ? faxExtension.value
        : this.faxExtension),
    firstName: (firstName != null ? firstName.value : this.firstName),
    firstNameColor: (firstNameColor != null
        ? firstNameColor.value
        : this.firstNameColor),
    homePhone: (homePhone != null ? homePhone.value : this.homePhone),
    inactive: (inactive != null ? inactive.value : this.inactive),
    inactiveDate: (inactiveDate != null
        ? inactiveDate.value
        : this.inactiveDate),
    info: (info != null ? info.value : this.info),
    inputDate: (inputDate != null ? inputDate.value : this.inputDate),
    modifiedDate: (modifiedDate != null
        ? modifiedDate.value
        : this.modifiedDate),
    lastName: (lastName != null ? lastName.value : this.lastName),
    middleInitial: (middleInitial != null
        ? middleInitial.value
        : this.middleInitial),
    mobilePhone: (mobilePhone != null ? mobilePhone.value : this.mobilePhone),
    nameFirstMiddleLast: (nameFirstMiddleLast != null
        ? nameFirstMiddleLast.value
        : this.nameFirstMiddleLast),
    officeExtension: (officeExtension != null
        ? officeExtension.value
        : this.officeExtension),
    officePhone: (officePhone != null ? officePhone.value : this.officePhone),
    pager: (pager != null ? pager.value : this.pager),
    pagerPin: (pagerPin != null ? pagerPin.value : this.pagerPin),
    person: (person != null ? person.value : this.person),
    salutation: (salutation != null ? salutation.value : this.salutation),
    website: (website != null ? website.value : this.website),
    webStatus: (webStatus != null ? webStatus.value : this.webStatus),
    zipCode: (zipCode != null ? zipCode.value : this.zipCode),
    state: (state != null ? state.value : this.state),
    sourceId: (sourceId != null ? sourceId.value : this.sourceId),
    userId: (userId != null ? userId.value : this.userId),
    password: (password != null ? password.value : this.password),
    changePasswordAtNextLogin: (changePasswordAtNextLogin != null
        ? changePasswordAtNextLogin.value
        : this.changePasswordAtNextLogin),
    expirePassword: (expirePassword != null
        ? expirePassword.value
        : this.expirePassword),
    expireDays: (expireDays != null ? expireDays.value : this.expireDays),
    passwordLastUpdated: (passwordLastUpdated != null
        ? passwordLastUpdated.value
        : this.passwordLastUpdated),
    webUserId: (webUserId != null ? webUserId.value : this.webUserId),
    webUserContactId: (webUserContactId != null
        ? webUserContactId.value
        : this.webUserContactId),
    webUserUserId: (webUserUserId != null
        ? webUserUserId.value
        : this.webUserUserId),
    webAccess: (webAccess != null ? webAccess.value : this.webAccess),
    lockAccount: (lockAccount != null ? lockAccount.value : this.lockAccount),
    defaultDealId: (defaultDealId != null
        ? defaultDealId.value
        : this.defaultDealId),
    defaultDeal: (defaultDeal != null ? defaultDeal.value : this.defaultDeal),
    storefrontCatalogId: (storefrontCatalogId != null
        ? storefrontCatalogId.value
        : this.storefrontCatalogId),
    storefrontCatalog: (storefrontCatalog != null
        ? storefrontCatalog.value
        : this.storefrontCatalog),
    locationId: (locationId != null ? locationId.value : this.locationId),
    location: (location != null ? location.value : this.location),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    webQuoteRequest: (webQuoteRequest != null
        ? webQuoteRequest.value
        : this.webQuoteRequest),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    department: (department != null ? department.value : this.department),
    isAccountsPayable: (isAccountsPayable != null
        ? isAccountsPayable.value
        : this.isAccountsPayable),
    isAccountsReceivable: (isAccountsReceivable != null
        ? isAccountsReceivable.value
        : this.isAccountsReceivable),
    buyer: (buyer != null ? buyer.value : this.buyer),
    responsiblePerson: (responsiblePerson != null
        ? responsiblePerson.value
        : this.responsiblePerson),
    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),
  );
}