GameListModel.fromJson constructor

GameListModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

GameListModel.fromJson(Map<String, dynamic> json) {
  nationCode = json['nation_code'];
  id = json['id'];
  icon = json['icon'];
  name = json['name'];
  typeForMobile = json['type_for_mobile'];
  winCostTicket = json['win_cost_ticket'];
  winSpt = json['win_spt'];
  loseCostTicket = json['lose_cost_ticket'];
  loseSpt = json['lose_spt'];
  drawCostTicket = json['draw_cost_ticket'];
  drawSpt = json['draw_spt'];
  namePointHistory = json['name_point_history'];
  cdate = json['cdate'];
  urlForMobile = json['url_for_mobile'];
  isActive = json['is_active'];
  versionForMobile = json['version_for_mobile'];
}