class MovingCompanyModel { List appMovingCompanyVoList; MovingCompanyModel({this.appMovingCompanyVoList}); MovingCompanyModel.fromJson(Map json) { if (json['appMovingCompanyVoList'] != null) { appMovingCompanyVoList = new List(); json['appMovingCompanyVoList'].forEach((v) { appMovingCompanyVoList.add(new AppMovingCompanyVoList.fromJson(v)); }); } } Map toJson() { final Map data = new Map(); if (this.appMovingCompanyVoList != null) { data['appMovingCompanyVoList'] = this.appMovingCompanyVoList.map((v) => v.toJson()).toList(); } return data; } } class AppMovingCompanyVoList { String name; String tel; AppMovingCompanyVoList({this.name, this.tel}); AppMovingCompanyVoList.fromJson(Map json) { name = json['name']; tel = json['tel']; } Map toJson() { final Map data = new Map(); data['name'] = this.name; data['tel'] = this.tel; return data; } }