copyWith method

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

Implementation

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