copyWithWrapped method

WebApiModulesHomeControlsOrderContactOrderContact copyWithWrapped({
  1. Wrapped<int?>? orderContactId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? contactId,
  4. Wrapped<String?>? nameFml,
  5. Wrapped<String?>? nameLfm,
  6. Wrapped<String?>? person,
  7. Wrapped<String?>? personColor,
  8. Wrapped<String?>? firstName,
  9. Wrapped<String?>? middleInitial,
  10. Wrapped<String?>? lastName,
  11. Wrapped<String?>? contactTitle,
  12. Wrapped<String?>? officePhone,
  13. Wrapped<String?>? officeExtension,
  14. Wrapped<String?>? mobilePhone,
  15. Wrapped<String?>? email,
  16. Wrapped<String?>? pager,
  17. Wrapped<String?>? pagerPin,
  18. Wrapped<String?>? jobTitle,
  19. Wrapped<String?>? contactTitleId,
  20. Wrapped<String?>? companyContactId,
  21. Wrapped<String?>? companyId,
  22. Wrapped<bool?>? isPrimary,
  23. Wrapped<String?>? countryId,
  24. Wrapped<bool?>? isOrderedBy,
  25. Wrapped<bool?>? isAccountsPayable,
  26. Wrapped<bool?>? isAccountsReceivable,
  27. Wrapped<bool?>? isProductionContact,
  28. Wrapped<bool?>? isPrintable,
  29. Wrapped<bool?>? contactOnOrder,
  30. Wrapped<bool?>? inactive,
  31. Wrapped<String?>? auditNote,
  32. Wrapped<String?>? recordTitle,
  33. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  34. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  35. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  36. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsOrderContactOrderContact copyWithWrapped(
    {Wrapped<int?>? orderContactId,
    Wrapped<String?>? orderId,
    Wrapped<String?>? contactId,
    Wrapped<String?>? nameFml,
    Wrapped<String?>? nameLfm,
    Wrapped<String?>? person,
    Wrapped<String?>? personColor,
    Wrapped<String?>? firstName,
    Wrapped<String?>? middleInitial,
    Wrapped<String?>? lastName,
    Wrapped<String?>? contactTitle,
    Wrapped<String?>? officePhone,
    Wrapped<String?>? officeExtension,
    Wrapped<String?>? mobilePhone,
    Wrapped<String?>? email,
    Wrapped<String?>? pager,
    Wrapped<String?>? pagerPin,
    Wrapped<String?>? jobTitle,
    Wrapped<String?>? contactTitleId,
    Wrapped<String?>? companyContactId,
    Wrapped<String?>? companyId,
    Wrapped<bool?>? isPrimary,
    Wrapped<String?>? countryId,
    Wrapped<bool?>? isOrderedBy,
    Wrapped<bool?>? isAccountsPayable,
    Wrapped<bool?>? isAccountsReceivable,
    Wrapped<bool?>? isProductionContact,
    Wrapped<bool?>? isPrintable,
    Wrapped<bool?>? contactOnOrder,
    Wrapped<bool?>? inactive,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsOrderContactOrderContact(
      orderContactId: (orderContactId != null
          ? orderContactId.value
          : this.orderContactId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      contactId: (contactId != null ? contactId.value : this.contactId),
      nameFml: (nameFml != null ? nameFml.value : this.nameFml),
      nameLfm: (nameLfm != null ? nameLfm.value : this.nameLfm),
      person: (person != null ? person.value : this.person),
      personColor:
          (personColor != null ? personColor.value : this.personColor),
      firstName: (firstName != null ? firstName.value : this.firstName),
      middleInitial:
          (middleInitial != null ? middleInitial.value : this.middleInitial),
      lastName: (lastName != null ? lastName.value : this.lastName),
      contactTitle:
          (contactTitle != null ? contactTitle.value : this.contactTitle),
      officePhone:
          (officePhone != null ? officePhone.value : this.officePhone),
      officeExtension: (officeExtension != null
          ? officeExtension.value
          : this.officeExtension),
      mobilePhone:
          (mobilePhone != null ? mobilePhone.value : this.mobilePhone),
      email: (email != null ? email.value : this.email),
      pager: (pager != null ? pager.value : this.pager),
      pagerPin: (pagerPin != null ? pagerPin.value : this.pagerPin),
      jobTitle: (jobTitle != null ? jobTitle.value : this.jobTitle),
      contactTitleId: (contactTitleId != null
          ? contactTitleId.value
          : this.contactTitleId),
      companyContactId: (companyContactId != null
          ? companyContactId.value
          : this.companyContactId),
      companyId: (companyId != null ? companyId.value : this.companyId),
      isPrimary: (isPrimary != null ? isPrimary.value : this.isPrimary),
      countryId: (countryId != null ? countryId.value : this.countryId),
      isOrderedBy:
          (isOrderedBy != null ? isOrderedBy.value : this.isOrderedBy),
      isAccountsPayable: (isAccountsPayable != null
          ? isAccountsPayable.value
          : this.isAccountsPayable),
      isAccountsReceivable: (isAccountsReceivable != null
          ? isAccountsReceivable.value
          : this.isAccountsReceivable),
      isProductionContact: (isProductionContact != null
          ? isProductionContact.value
          : this.isProductionContact),
      isPrintable:
          (isPrintable != null ? isPrintable.value : this.isPrintable),
      contactOnOrder: (contactOnOrder != null
          ? contactOnOrder.value
          : this.contactOnOrder),
      inactive: (inactive != null ? inactive.value : this.inactive),
      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));
}