copyWithWrapped method

WebApiModulesIntegrationsStorefrontStorefrontSettings copyWithWrapped({
  1. Wrapped<bool?>? isStorefrontEnabled,
  2. Wrapped<bool?>? isAnonymousAccessEnabled,
  3. Wrapped<bool?>? registerEnabled,
  4. Wrapped<bool?>? separateQuoteRequestsByCatalog,
  5. Wrapped<bool?>? makeQuoteRequestIntoOrderOnSubmission,
  6. Wrapped<bool?>? filterCatalogsByLocation,
  7. Wrapped<bool?>? phoneNoRequiredOnRegistrationForm,
  8. Wrapped<bool?>? isUniversity,
  9. Wrapped<bool?>? studentIdRequiredOnRegistrationForm,
  10. Wrapped<double?>? autoplaySpeed,
  11. Wrapped<bool?>? autoplayImagesOnLandingPage,
  12. Wrapped<bool?>? autoplayImagesOnProductBrowser,
  13. Wrapped<bool?>? autoplayImagesOnProductDetails,
  14. Wrapped<String?>? imagesTransitionEffect,
  15. Wrapped<String?>? imagesTransitionSpeed,
  16. Wrapped<bool?>? homepageShowHeroSection,
  17. Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>? homepageHeroSectionHeading1,
  18. Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>? homepageHeroSectionHeading2,
  19. Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>? homepageHeroSectionHeading3,
  20. Wrapped<String?>? homepageCatalogItemWidth,
  21. Wrapped<String?>? homepageCatalogItemHeight,
  22. Wrapped<bool?>? homepageShowFooter,
  23. Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>? homepageFooterText,
  24. Wrapped<bool?>? landingPageShowCategoryBrowser,
  25. Wrapped<String?>? landingPageCategoryBrowserItemWidth,
})

Implementation

WebApiModulesIntegrationsStorefrontStorefrontSettings copyWithWrapped({
  Wrapped<bool?>? isStorefrontEnabled,
  Wrapped<bool?>? isAnonymousAccessEnabled,
  Wrapped<bool?>? registerEnabled,
  Wrapped<bool?>? separateQuoteRequestsByCatalog,
  Wrapped<bool?>? makeQuoteRequestIntoOrderOnSubmission,
  Wrapped<bool?>? filterCatalogsByLocation,
  Wrapped<bool?>? phoneNoRequiredOnRegistrationForm,
  Wrapped<bool?>? isUniversity,
  Wrapped<bool?>? studentIdRequiredOnRegistrationForm,
  Wrapped<double?>? autoplaySpeed,
  Wrapped<bool?>? autoplayImagesOnLandingPage,
  Wrapped<bool?>? autoplayImagesOnProductBrowser,
  Wrapped<bool?>? autoplayImagesOnProductDetails,
  Wrapped<String?>? imagesTransitionEffect,
  Wrapped<String?>? imagesTransitionSpeed,
  Wrapped<bool?>? homepageShowHeroSection,
  Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>?
  homepageHeroSectionHeading1,
  Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>?
  homepageHeroSectionHeading2,
  Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>?
  homepageHeroSectionHeading3,
  Wrapped<String?>? homepageCatalogItemWidth,
  Wrapped<String?>? homepageCatalogItemHeight,
  Wrapped<bool?>? homepageShowFooter,
  Wrapped<WebApiModulesIntegrationsStorefrontStorefrontTranslatedText?>?
  homepageFooterText,
  Wrapped<bool?>? landingPageShowCategoryBrowser,
  Wrapped<String?>? landingPageCategoryBrowserItemWidth,
}) {
  return WebApiModulesIntegrationsStorefrontStorefrontSettings(
    isStorefrontEnabled: (isStorefrontEnabled != null
        ? isStorefrontEnabled.value
        : this.isStorefrontEnabled),
    isAnonymousAccessEnabled: (isAnonymousAccessEnabled != null
        ? isAnonymousAccessEnabled.value
        : this.isAnonymousAccessEnabled),
    registerEnabled: (registerEnabled != null
        ? registerEnabled.value
        : this.registerEnabled),
    separateQuoteRequestsByCatalog: (separateQuoteRequestsByCatalog != null
        ? separateQuoteRequestsByCatalog.value
        : this.separateQuoteRequestsByCatalog),
    makeQuoteRequestIntoOrderOnSubmission:
        (makeQuoteRequestIntoOrderOnSubmission != null
        ? makeQuoteRequestIntoOrderOnSubmission.value
        : this.makeQuoteRequestIntoOrderOnSubmission),
    filterCatalogsByLocation: (filterCatalogsByLocation != null
        ? filterCatalogsByLocation.value
        : this.filterCatalogsByLocation),
    phoneNoRequiredOnRegistrationForm:
        (phoneNoRequiredOnRegistrationForm != null
        ? phoneNoRequiredOnRegistrationForm.value
        : this.phoneNoRequiredOnRegistrationForm),
    isUniversity: (isUniversity != null
        ? isUniversity.value
        : this.isUniversity),
    studentIdRequiredOnRegistrationForm:
        (studentIdRequiredOnRegistrationForm != null
        ? studentIdRequiredOnRegistrationForm.value
        : this.studentIdRequiredOnRegistrationForm),
    autoplaySpeed: (autoplaySpeed != null
        ? autoplaySpeed.value
        : this.autoplaySpeed),
    autoplayImagesOnLandingPage: (autoplayImagesOnLandingPage != null
        ? autoplayImagesOnLandingPage.value
        : this.autoplayImagesOnLandingPage),
    autoplayImagesOnProductBrowser: (autoplayImagesOnProductBrowser != null
        ? autoplayImagesOnProductBrowser.value
        : this.autoplayImagesOnProductBrowser),
    autoplayImagesOnProductDetails: (autoplayImagesOnProductDetails != null
        ? autoplayImagesOnProductDetails.value
        : this.autoplayImagesOnProductDetails),
    imagesTransitionEffect: (imagesTransitionEffect != null
        ? imagesTransitionEffect.value
        : this.imagesTransitionEffect),
    imagesTransitionSpeed: (imagesTransitionSpeed != null
        ? imagesTransitionSpeed.value
        : this.imagesTransitionSpeed),
    homepageShowHeroSection: (homepageShowHeroSection != null
        ? homepageShowHeroSection.value
        : this.homepageShowHeroSection),
    homepageHeroSectionHeading1: (homepageHeroSectionHeading1 != null
        ? homepageHeroSectionHeading1.value
        : this.homepageHeroSectionHeading1),
    homepageHeroSectionHeading2: (homepageHeroSectionHeading2 != null
        ? homepageHeroSectionHeading2.value
        : this.homepageHeroSectionHeading2),
    homepageHeroSectionHeading3: (homepageHeroSectionHeading3 != null
        ? homepageHeroSectionHeading3.value
        : this.homepageHeroSectionHeading3),
    homepageCatalogItemWidth: (homepageCatalogItemWidth != null
        ? homepageCatalogItemWidth.value
        : this.homepageCatalogItemWidth),
    homepageCatalogItemHeight: (homepageCatalogItemHeight != null
        ? homepageCatalogItemHeight.value
        : this.homepageCatalogItemHeight),
    homepageShowFooter: (homepageShowFooter != null
        ? homepageShowFooter.value
        : this.homepageShowFooter),
    homepageFooterText: (homepageFooterText != null
        ? homepageFooterText.value
        : this.homepageFooterText),
    landingPageShowCategoryBrowser: (landingPageShowCategoryBrowser != null
        ? landingPageShowCategoryBrowser.value
        : this.landingPageShowCategoryBrowser),
    landingPageCategoryBrowserItemWidth:
        (landingPageCategoryBrowserItemWidth != null
        ? landingPageCategoryBrowserItemWidth.value
        : this.landingPageCategoryBrowserItemWidth),
  );
}