/* *@author: Elham Rababah *@Date:17/5/2020 *@param: *@return: *@desc: ProfileReqModel */ class ProfileReqModel { int projectID; int clinicID; int doctorID; bool isRegistered; bool license; int languageID; String stamp; String iPAdress; double versionID; int channel; String tokenID; String sessionID; bool isLoginForDoctorApp; ProfileReqModel( {this.projectID, this.clinicID, this.doctorID, this.isRegistered =true, this.license, this.languageID, this.stamp = '2020-04-26T09:32:18.317Z', this.iPAdress='11.11.11.11', this.versionID=1.2, this.channel=9, this.sessionID='E2bsEeYEJo', this.tokenID, this.isLoginForDoctorApp = true}); ProfileReqModel.fromJson(Map json) { projectID = json['ProjectID']; clinicID = json['ClinicID']; doctorID = json['doctorID']; isRegistered = json['IsRegistered']; license = json['License']; languageID = json['LanguageID']; stamp = json['stamp']; iPAdress = json['IPAdress']; versionID = json['VersionID']; channel = json['Channel']; tokenID = json['TokenID']; sessionID = json['SessionID']; isLoginForDoctorApp = json['IsLoginForDoctorApp']; } Map toJson() { final Map data = new Map(); data['ProjectID'] = this.projectID; data['ClinicID'] = this.clinicID; data['doctorID'] = this.doctorID; data['IsRegistered'] = this.isRegistered; data['License'] = this.license; 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; return data; } }