copyWithWrapped method

WebApiModulesIntegrationsStorefrontStorefrontSettings copyWithWrapped({
  1. Wrapped<bool?>? isStorefrontEnabled,
  2. Wrapped<bool?>? isUniversity,
  3. Wrapped<bool?>? isAnonymousAccessEnabled,
  4. Wrapped<bool?>? separateQuoteRequestsByCatalog,
  5. Wrapped<bool?>? makeQuoteRequestIntoOrderOnSubmission,
  6. Wrapped<bool?>? filterCatalogsByLocation,
  7. Wrapped<double?>? autoplaySpeed,
  8. Wrapped<bool?>? autoplayImagesOnLandingPage,
  9. Wrapped<bool?>? autoplayImagesOnProductBrowser,
  10. Wrapped<bool?>? autoplayImagesOnProductDetails,
})

Implementation

WebApiModulesIntegrationsStorefrontStorefrontSettings copyWithWrapped({
  Wrapped<bool?>? isStorefrontEnabled,
  Wrapped<bool?>? isUniversity,
  Wrapped<bool?>? isAnonymousAccessEnabled,
  Wrapped<bool?>? separateQuoteRequestsByCatalog,
  Wrapped<bool?>? makeQuoteRequestIntoOrderOnSubmission,
  Wrapped<bool?>? filterCatalogsByLocation,
  Wrapped<double?>? autoplaySpeed,
  Wrapped<bool?>? autoplayImagesOnLandingPage,
  Wrapped<bool?>? autoplayImagesOnProductBrowser,
  Wrapped<bool?>? autoplayImagesOnProductDetails,
}) {
  return WebApiModulesIntegrationsStorefrontStorefrontSettings(
    isStorefrontEnabled: (isStorefrontEnabled != null
        ? isStorefrontEnabled.value
        : this.isStorefrontEnabled),
    isUniversity: (isUniversity != null
        ? isUniversity.value
        : this.isUniversity),
    isAnonymousAccessEnabled: (isAnonymousAccessEnabled != null
        ? isAnonymousAccessEnabled.value
        : this.isAnonymousAccessEnabled),
    separateQuoteRequestsByCatalog: (separateQuoteRequestsByCatalog != null
        ? separateQuoteRequestsByCatalog.value
        : this.separateQuoteRequestsByCatalog),
    makeQuoteRequestIntoOrderOnSubmission:
        (makeQuoteRequestIntoOrderOnSubmission != null
        ? makeQuoteRequestIntoOrderOnSubmission.value
        : this.makeQuoteRequestIntoOrderOnSubmission),
    filterCatalogsByLocation: (filterCatalogsByLocation != null
        ? filterCatalogsByLocation.value
        : this.filterCatalogsByLocation),
    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),
  );
}