copyWithWrapped method

WebApiModulesInventoryInventoryReceiptSetBrochureHeaderResponse copyWithWrapped({
  1. Wrapped<String?>? brochureId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? orderNumber,
  4. Wrapped<String?>? orderDescription,
  5. Wrapped<String?>? dealId,
  6. Wrapped<String?>? deal,
  7. Wrapped<String?>? dealNumber,
})

Implementation

WebApiModulesInventoryInventoryReceiptSetBrochureHeaderResponse
copyWithWrapped({
  Wrapped<String?>? brochureId,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? orderDescription,
  Wrapped<String?>? dealId,
  Wrapped<String?>? deal,
  Wrapped<String?>? dealNumber,
}) {
  return WebApiModulesInventoryInventoryReceiptSetBrochureHeaderResponse(
    brochureId: (brochureId != null ? brochureId.value : this.brochureId),
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    orderDescription: (orderDescription != null
        ? orderDescription.value
        : this.orderDescription),
    dealId: (dealId != null ? dealId.value : this.dealId),
    deal: (deal != null ? deal.value : this.deal),
    dealNumber: (dealNumber != null ? dealNumber.value : this.dealNumber),
  );
}