GameShopModel.fromJson constructor
Implementation
GameShopModel.fromJson(Map<String, dynamic> json) {
balance = json['balance'];
earnedTicket = json['earned_ticket'];
if (json['list_ticket_shop'] != null) {
listTicketShop = <ListTicketShop>[];
json['list_ticket_shop'].forEach((v) {
listTicketShop?.add(new ListTicketShop.fromJson(v));
});
}
}