copyWith method

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

Implementation

WebApiModulesIntegrationsStorefrontStorefrontSettings copyWith({
  bool? isStorefrontEnabled,
  bool? isUniversity,
  bool? isAnonymousAccessEnabled,
  bool? separateQuoteRequestsByCatalog,
  bool? makeQuoteRequestIntoOrderOnSubmission,
  bool? filterCatalogsByLocation,
  double? autoplaySpeed,
  bool? autoplayImagesOnLandingPage,
  bool? autoplayImagesOnProductBrowser,
  bool? autoplayImagesOnProductDetails,
}) {
  return WebApiModulesIntegrationsStorefrontStorefrontSettings(
    isStorefrontEnabled: isStorefrontEnabled ?? this.isStorefrontEnabled,
    isUniversity: isUniversity ?? this.isUniversity,
    isAnonymousAccessEnabled:
        isAnonymousAccessEnabled ?? this.isAnonymousAccessEnabled,
    separateQuoteRequestsByCatalog:
        separateQuoteRequestsByCatalog ?? this.separateQuoteRequestsByCatalog,
    makeQuoteRequestIntoOrderOnSubmission:
        makeQuoteRequestIntoOrderOnSubmission ??
        this.makeQuoteRequestIntoOrderOnSubmission,
    filterCatalogsByLocation:
        filterCatalogsByLocation ?? this.filterCatalogsByLocation,
    autoplaySpeed: autoplaySpeed ?? this.autoplaySpeed,
    autoplayImagesOnLandingPage:
        autoplayImagesOnLandingPage ?? this.autoplayImagesOnLandingPage,
    autoplayImagesOnProductBrowser:
        autoplayImagesOnProductBrowser ?? this.autoplayImagesOnProductBrowser,
    autoplayImagesOnProductDetails:
        autoplayImagesOnProductDetails ?? this.autoplayImagesOnProductDetails,
  );
}