copyWithWrapped method

Implementation

WebApiModulesIntegrationsStorefrontProductDepartment copyWithWrapped({
  Wrapped<String?>? id,
  Wrapped<String?>? name,
  Wrapped<String?>? urlName,
  Wrapped<List<WebApiModulesIntegrationsStorefrontProductCategory>?>?
  categories,
}) {
  return WebApiModulesIntegrationsStorefrontProductDepartment(
    id: (id != null ? id.value : this.id),
    name: (name != null ? name.value : this.name),
    urlName: (urlName != null ? urlName.value : this.urlName),
    categories: (categories != null ? categories.value : this.categories),
  );
}