copyWithWrapped method

WebApiModulesHomeOrderConfirmationOrderConfirmation copyWithWrapped({
  1. Wrapped<String?>? orderConfirmationId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? webUsersId,
  4. Wrapped<String?>? date,
  5. Wrapped<String?>? time,
  6. Wrapped<String?>? activityType,
  7. Wrapped<String?>? note,
  8. Wrapped<String?>? person,
  9. Wrapped<String?>? payType,
  10. Wrapped<String?>? paymentTerms,
  11. Wrapped<String?>? purchaseOrderNumber,
  12. Wrapped<double?>? amount,
  13. Wrapped<String?>? auditNote,
  14. Wrapped<String?>? recordTitle,
  15. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  16. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  17. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  18. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeOrderConfirmationOrderConfirmation copyWithWrapped(
    {Wrapped<String?>? orderConfirmationId,
    Wrapped<String?>? orderId,
    Wrapped<String?>? webUsersId,
    Wrapped<String?>? date,
    Wrapped<String?>? time,
    Wrapped<String?>? activityType,
    Wrapped<String?>? note,
    Wrapped<String?>? person,
    Wrapped<String?>? payType,
    Wrapped<String?>? paymentTerms,
    Wrapped<String?>? purchaseOrderNumber,
    Wrapped<double?>? amount,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeOrderConfirmationOrderConfirmation(
      orderConfirmationId: (orderConfirmationId != null
          ? orderConfirmationId.value
          : this.orderConfirmationId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      webUsersId: (webUsersId != null ? webUsersId.value : this.webUsersId),
      date: (date != null ? date.value : this.date),
      time: (time != null ? time.value : this.time),
      activityType:
          (activityType != null ? activityType.value : this.activityType),
      note: (note != null ? note.value : this.note),
      person: (person != null ? person.value : this.person),
      payType: (payType != null ? payType.value : this.payType),
      paymentTerms:
          (paymentTerms != null ? paymentTerms.value : this.paymentTerms),
      purchaseOrderNumber: (purchaseOrderNumber != null
          ? purchaseOrderNumber.value
          : this.purchaseOrderNumber),
      amount: (amount != null ? amount.value : this.amount),
      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));
}