toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data["id"] = this.id;
data["publicName"] = this.publicName;
data["proIdOwner"] = this.proIdOwner;
data["createdAt"] = this.createdAt;
data["beerName"] = this.beerName;
data["quantity"] = this.quantity;
data["amount"] = this.amount;
data["currency"] = this.currency;
return data;
}