class GetChiefComplaintResModel { int appointmentNo; String ccdate; String chiefComplaint; String clinicDescription; int clinicID; String currentMedication; int doctorID; String doctorName; int episodeId; String hopi; int patientMRN; int status; GetChiefComplaintResModel( {this.appointmentNo, this.ccdate, this.chiefComplaint, this.clinicDescription, this.clinicID, this.currentMedication, this.doctorID, this.doctorName, this.episodeId, this.hopi, this.patientMRN, this.status}); GetChiefComplaintResModel.fromJson(Map json) { appointmentNo = json['appointmentNo']; ccdate = json['ccdate']; chiefComplaint = json['chiefComplaint']; clinicDescription = json['clinicDescription']; clinicID = json['clinicID']; currentMedication = json['currentMedication']; doctorID = json['doctorID']; doctorName = json['doctorName']; episodeId = json['episodeId']; hopi = json['hopi']; patientMRN = json['patientMRN']; status = json['status']; } Map toJson() { final Map data = new Map(); data['appointmentNo'] = this.appointmentNo; data['ccdate'] = this.ccdate; data['chiefComplaint'] = this.chiefComplaint; data['clinicDescription'] = this.clinicDescription; data['clinicID'] = this.clinicID; data['currentMedication'] = this.currentMedication; data['doctorID'] = this.doctorID; data['doctorName'] = this.doctorName; data['episodeId'] = this.episodeId; data['hopi'] = this.hopi; data['patientMRN'] = this.patientMRN; data['status'] = this.status; return data; } }