class RequestPrescriptionReport { int projectID; int appointmentNo; int episodeID; String setupID; int patientTypeID; int languageID; String stamp; String iPAdress; double versionID; int channel; String tokenID; String sessionID; bool isLoginForDoctorApp; bool patientOutSA; RequestPrescriptionReport( {this.projectID, this.appointmentNo, this.episodeID, this.setupID, this.patientTypeID, this.languageID, this.stamp, this.iPAdress, this.versionID, this.channel, this.tokenID, this.sessionID, this.isLoginForDoctorApp, this.patientOutSA}); RequestPrescriptionReport.fromJson(Map json) { projectID = json['ProjectID']; appointmentNo = json['AppointmentNo']; episodeID = json['EpisodeID']; setupID = json['SetupID']; patientTypeID = json['PatientTypeID']; languageID = json['LanguageID']; stamp = json['stamp']; iPAdress = json['IPAdress']; versionID = json['VersionID']; channel = json['Channel']; tokenID = json['TokenID']; sessionID = json['SessionID']; isLoginForDoctorApp = json['IsLoginForDoctorApp']; patientOutSA = json['PatientOutSA']; } Map toJson() { final Map data = new Map(); data['ProjectID'] = this.projectID; data['AppointmentNo'] = this.appointmentNo; data['EpisodeID'] = this.episodeID; data['SetupID'] = this.setupID; data['PatientTypeID'] = this.patientTypeID; data['LanguageID'] = this.languageID; data['stamp'] = this.stamp; data['IPAdress'] = this.iPAdress; data['VersionID'] = this.versionID; data['Channel'] = this.channel; data['TokenID'] = this.tokenID; data['SessionID'] = this.sessionID; data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp; data['PatientOutSA'] = this.patientOutSA; return data; } }