/* *@author: Ibrahim Albitar *@Date:15/5/2020 *@param: {"PatientID":1089227, "PatientTypeID":1, "EXuldAPPNO":0, "ProjectID":12, "LanguageID":2, "stamp":"2020-04-01T09:47:19.643Z", "IPAdress":"11.11.11.11", "VersionID":1.2, "Channel":9, "TokenID":"yIwh6wNyUkOeQlJRohWjyw==", "SessionID":"LlBk8lUEJY", "IsLoginForDoctorApp":true, "PatientOutSA":false} *@return: *@desc: */ class InsuranceAprovalsRequest { int exuldAppNO; int patientID; int channel; int projectID; int languageID; String stamp; String ipAdress; double versionID; String tokenID; String sessionID; bool isLoginForDoctorApp; bool patientOutSA; int patientTypeID; InsuranceAprovalsRequest( { this.exuldAppNO, this.patientID, this.channel = 9, this.projectID = 12, this.patientTypeID = 1, this.languageID = 2, this.stamp = '2020-04-23T21:01:21.492Z', this.ipAdress = '11.11.11.11', this.versionID = 1.2, this.tokenID , this.sessionID = 'e29zoooEJ4', this.isLoginForDoctorApp = true, this.patientOutSA = false}); InsuranceAprovalsRequest.fromJson(Map json) { exuldAppNO = json['EXuldAPPNO']; patientID = json['PatientID']; channel = json['Channel']; projectID = json['ProjectID']; patientTypeID = json['PatientTypeID']; languageID = json['LanguageID']; stamp = json['stamp']; ipAdress = json['IPAdress']; versionID = json['VersionID']; tokenID = json['TokenID']; sessionID = json['SessionID']; isLoginForDoctorApp = json['IsLoginForDoctorApp']; patientOutSA = json['PatientOutSA']; } Map toJson() { final Map data = new Map(); data['EXuldAPPNO'] = this.exuldAppNO; data['PatientID'] = this.patientID; data['Channel'] = this.channel; data['ProjectID'] = this.projectID; data['PatientTypeID'] = this.patientTypeID; data['LanguageID'] = this.languageID; data['stamp'] = this.stamp; data['IPAdress'] = this.ipAdress; data['VersionID'] = this.versionID; data['TokenID'] = this.tokenID; data['SessionID'] = this.sessionID; data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp; data['PatientOutSA'] = this.patientOutSA; return data; } }