City.fromJson(Map<String, dynamic> json) { this.name = json['name']; this.no = json['code']; this.countyList = (json['children'] as List).map((i) => County.fromJson(i)).toList(); }