copyWithWrapped method
Implementation
WebApiModulesSettingsInventorySettingsStorefrontToggleCatalogItemRequest
copyWithWrapped({
Wrapped<String?>? recType,
Wrapped<String?>? departmentId,
Wrapped<String?>? categoryId,
Wrapped<String?>? subCategoryId,
Wrapped<String?>? inventoryId,
Wrapped<bool?>? enable,
}) {
return WebApiModulesSettingsInventorySettingsStorefrontToggleCatalogItemRequest(
recType: (recType != null ? recType.value : this.recType),
departmentId: (departmentId != null
? departmentId.value
: this.departmentId),
categoryId: (categoryId != null ? categoryId.value : this.categoryId),
subCategoryId: (subCategoryId != null
? subCategoryId.value
: this.subCategoryId),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
enable: (enable != null ? enable.value : this.enable),
);
}