class GetPhysicalExamResModel { int appointmentNo; int createdBy; String createdByName; String createdOn; Null editedBy; String editedByName; String editedOn; int episodeId; int examId; String examName; int examType; int examinationType; String examinationTypeName; bool isAbnormal; bool isNew; bool isNormal; bool notExamined; int patientMRN; String remarks; GetPhysicalExamResModel( {this.appointmentNo, this.createdBy, this.createdByName, this.createdOn, this.editedBy, this.editedByName, this.editedOn, this.episodeId, this.examId, this.examName, this.examType, this.examinationType, this.examinationTypeName, this.isAbnormal, this.isNew, this.isNormal, this.notExamined, this.patientMRN, this.remarks}); GetPhysicalExamResModel.fromJson(Map json) { appointmentNo = json['appointmentNo']; createdBy = json['createdBy']; createdByName = json['createdByName']; createdOn = json['createdOn']; editedBy = json['editedBy']; editedByName = json['editedByName']; editedOn = json['editedOn']; episodeId = json['episodeId']; examId = json['examId']; examName = json['examName']; examType = json['examType']; examinationType = json['examinationType']; examinationTypeName = json['examinationTypeName']; isAbnormal = json['isAbnormal']; isNew = json['isNew']; isNormal = json['isNormal']; notExamined = json['notExamined']; patientMRN = json['patientMRN']; remarks = json['remarks']; } Map toJson() { final Map data = new Map(); data['appointmentNo'] = this.appointmentNo; data['createdBy'] = this.createdBy; data['createdByName'] = this.createdByName; data['createdOn'] = this.createdOn; data['editedBy'] = this.editedBy; data['editedByName'] = this.editedByName; data['editedOn'] = this.editedOn; data['episodeId'] = this.episodeId; data['examId'] = this.examId; data['examName'] = this.examName; data['examType'] = this.examType; data['examinationType'] = this.examinationType; data['examinationTypeName'] = this.examinationTypeName; data['isAbnormal'] = this.isAbnormal; data['isNew'] = this.isNew; data['isNormal'] = this.isNormal; data['notExamined'] = this.notExamined; data['patientMRN'] = this.patientMRN; data['remarks'] = this.remarks; return data; } }