copyWith method
Implementation
WebApiModulesSettingsInventorySettingsStorefrontToggleCatalogItemRequest
copyWith({
String? recType,
String? departmentId,
String? categoryId,
String? subCategoryId,
String? inventoryId,
bool? enable,
}) {
return WebApiModulesSettingsInventorySettingsStorefrontToggleCatalogItemRequest(
recType: recType ?? this.recType,
departmentId: departmentId ?? this.departmentId,
categoryId: categoryId ?? this.categoryId,
subCategoryId: subCategoryId ?? this.subCategoryId,
inventoryId: inventoryId ?? this.inventoryId,
enable: enable ?? this.enable,
);
}