PurchasableFood.fromJson constructor
Implementation
factory PurchasableFood.fromJson(Map<String, dynamic> json) {
return PurchasableFood(
id: json['id'],
name: json['name'],
image: json['image'],
description: json['description'],
price: json['price'],
owner: json['owner'],
);
}