generated hive code for last commit

This commit is contained in:
broodjeaap89 2021-09-07 21:30:58 +02:00
parent 11c05e785a
commit c1d1595d8c

View file

@ -21,13 +21,13 @@ class PizzaRecipeAdapter extends TypeAdapter<PizzaRecipe> {
fields[1] as String,
(fields[2] as List).cast<Ingredient>(),
(fields[3] as List).cast<RecipeStep>(),
);
)..deleted = fields[4] as bool;
}
@override
void write(BinaryWriter writer, PizzaRecipe obj) {
writer
..writeByte(4)
..writeByte(5)
..writeByte(0)
..write(obj.name)
..writeByte(1)
@ -35,7 +35,9 @@ class PizzaRecipeAdapter extends TypeAdapter<PizzaRecipe> {
..writeByte(2)
..write(obj.ingredients)
..writeByte(3)
..write(obj.recipeSteps);
..write(obj.recipeSteps)
..writeByte(4)
..write(obj.deleted);
}
@override