GameVersion.fromJson constructor

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

Implementation

GameVersion.fromJson(Map<String, dynamic> json) {
  nationCode = json['nation_code'];
  id = json['id'];
  icon = json['icon'];
  name = json['name'];
  typeForMobile = json['type_for_mobile'];
  urlForMobile = json['url_for_mobile'];
  versionForMobile = json['version_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'];
  isActive = json['is_active'];
}