duymmy method
dynamic
duymmy()
Implementation
duymmy(){
gameShopModel.balance = "0";
gameShopModel.earnedTicket = "0";
List<ListTicketShop> tuike = [];
ListTicketShop a = ListTicketShop();
a.id = "1";
a.price = "25";
a.earnedTicket = "5";
tuike.add(a);
ListTicketShop b = ListTicketShop();
b.price = "50";
b.id = "2";
b.earnedTicket = "10";
tuike.add(b);
ListTicketShop c = ListTicketShop();
c.price = "75";
c.id = "3";
c.earnedTicket = "15";
tuike.add(c);
ListTicketShop d = ListTicketShop();
d.price = "100";
d.earnedTicket = "20";
d.id = "4";
tuike.add(d);
gameShopModel.listTicketShop = tuike;
setState(() {
});
}