RecipeToSave

data class RecipeToSave(val id: Long?, val name: String, val category: String, val servings: Int, val directions: String, val ingredients: List<IngredientToSave>)

A recipe that is about to be saved.

Constructors

Link copied to clipboard
constructor(id: Long?, name: String, category: String, servings: Int, directions: String, ingredients: List<IngredientToSave>)

Properties

Link copied to clipboard

name of the Category; will be converted to an ID

Link copied to clipboard

how to stir, etc.

Link copied to clipboard
val id: Long?

unique ID; null if this is a new Recipe

Link copied to clipboard
Link copied to clipboard

name of the Recipe

Link copied to clipboard

number of servings the Recipe yields