class PostChiefComplaintRequestModel { int appointmentNo; int episodeID; int patientMRN; String chiefComplaint; String hopi; String currentMedication; bool ispregnant; bool isLactation; int numberOfWeeks; dynamic doctorID; dynamic editedBy; PostChiefComplaintRequestModel( {this.appointmentNo, this.episodeID, this.patientMRN, this.chiefComplaint, this.hopi, this.currentMedication, this.ispregnant, this.isLactation, this.doctorID, this.editedBy, this.numberOfWeeks}); PostChiefComplaintRequestModel.fromJson(Map json) { appointmentNo = json['AppointmentNo']; episodeID = json['EpisodeID']; patientMRN = json['PatientMRN']; chiefComplaint = json['chiefComplaint']; hopi = json['Hopi']; currentMedication = json['CurrentMedication']; ispregnant = json['ispregnant']; isLactation = json['isLactation']; numberOfWeeks = json['numberOfWeeks']; doctorID = json['DoctorID']; editedBy = json['EditedBy']; } Map toJson() { final Map data = new Map(); data['AppointmentNo'] = this.appointmentNo; data['EpisodeID'] = this.episodeID; data['PatientMRN'] = this.patientMRN; data['chiefComplaint'] = this.chiefComplaint; data['Hopi'] = this.hopi; data['CurrentMedication'] = this.currentMedication; data['ispregnant'] = this.ispregnant; data['isLactation'] = this.isLactation; data['numberOfWeeks'] = this.numberOfWeeks; data['DoctorID'] = this.doctorID; data['EditedBy'] = this.editedBy; return data; } }