Classe Modelo Angular 12
//Define how single recipe should look like - Blueprint for object
export class Recipe {
public name : string;
public description : string;
public imagePath : string;
constructor(name : string, desc : string, imagePath : string){
this.name = name;
this.description = desc;
this.imagePath = imagePath;
}
}
MitchAloha