copyWithWrapped method

WebApiModulesIntegrationsStorefrontDealModel copyWithWrapped({
  1. Wrapped<String?>? dealId,
  2. Wrapped<String?>? deal,
})

Implementation

WebApiModulesIntegrationsStorefrontDealModel copyWithWrapped({
  Wrapped<String?>? dealId,
  Wrapped<String?>? deal,
}) {
  return WebApiModulesIntegrationsStorefrontDealModel(
    dealId: (dealId != null ? dealId.value : this.dealId),
    deal: (deal != null ? deal.value : this.deal),
  );
}