copyWithWrapped method

WebApiModulesHomeOrderApprovalOrderApproval copyWithWrapped({
  1. Wrapped<int?>? orderApprovalId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? webUsersId,
  4. Wrapped<String?>? token,
  5. Wrapped<String?>? expireDate,
  6. Wrapped<String?>? createdDate,
  7. Wrapped<String?>? status,
  8. Wrapped<String?>? contactId,
  9. Wrapped<String?>? contactName,
  10. Wrapped<String?>? contactEmail,
  11. Wrapped<String?>? statusChangeDate,
  12. Wrapped<String?>? notes,
  13. Wrapped<String?>? paymentTermsId,
  14. Wrapped<String?>? paymentTypeId,
  15. Wrapped<double?>? amount,
  16. Wrapped<String?>? dateStamp,
  17. Wrapped<String?>? auditNote,
  18. Wrapped<String?>? recordTitle,
  19. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  20. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  21. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  22. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeOrderApprovalOrderApproval copyWithWrapped(
    {Wrapped<int?>? orderApprovalId,
    Wrapped<String?>? orderId,
    Wrapped<String?>? webUsersId,
    Wrapped<String?>? token,
    Wrapped<String?>? expireDate,
    Wrapped<String?>? createdDate,
    Wrapped<String?>? status,
    Wrapped<String?>? contactId,
    Wrapped<String?>? contactName,
    Wrapped<String?>? contactEmail,
    Wrapped<String?>? statusChangeDate,
    Wrapped<String?>? notes,
    Wrapped<String?>? paymentTermsId,
    Wrapped<String?>? paymentTypeId,
    Wrapped<double?>? amount,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeOrderApprovalOrderApproval(
      orderApprovalId: (orderApprovalId != null
          ? orderApprovalId.value
          : this.orderApprovalId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      webUsersId: (webUsersId != null ? webUsersId.value : this.webUsersId),
      token: (token != null ? token.value : this.token),
      expireDate: (expireDate != null ? expireDate.value : this.expireDate),
      createdDate:
          (createdDate != null ? createdDate.value : this.createdDate),
      status: (status != null ? status.value : this.status),
      contactId: (contactId != null ? contactId.value : this.contactId),
      contactName:
          (contactName != null ? contactName.value : this.contactName),
      contactEmail:
          (contactEmail != null ? contactEmail.value : this.contactEmail),
      statusChangeDate: (statusChangeDate != null
          ? statusChangeDate.value
          : this.statusChangeDate),
      notes: (notes != null ? notes.value : this.notes),
      paymentTermsId: (paymentTermsId != null
          ? paymentTermsId.value
          : this.paymentTermsId),
      paymentTypeId:
          (paymentTypeId != null ? paymentTypeId.value : this.paymentTypeId),
      amount: (amount != null ? amount.value : this.amount),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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));
}