class CheckPatientForRegistration { int patientIdentificationID; int patientMobileNumber; String zipCode; double versionID; int channel; int languageID; String iPAdress; String generalid; int patientOutSA; Null sessionID; bool isDentalAllowedBackend; int deviceTypeID; String tokenID; int patientID; bool isRegister; CheckPatientForRegistration( {this.patientIdentificationID, this.patientMobileNumber, this.zipCode, this.versionID, this.channel, this.languageID, this.iPAdress, this.generalid, this.patientOutSA, this.sessionID, this.isDentalAllowedBackend, this.deviceTypeID, this.tokenID, this.patientID, this.isRegister}); CheckPatientForRegistration.fromJson(Map json) { patientIdentificationID = json['PatientIdentificationID']; patientMobileNumber = json['PatientMobileNumber']; zipCode = json['ZipCode']; versionID = json['VersionID']; channel = json['Channel']; languageID = json['LanguageID']; iPAdress = json['IPAdress']; generalid = json['generalid']; patientOutSA = json['PatientOutSA']; sessionID = json['SessionID']; isDentalAllowedBackend = json['isDentalAllowedBackend']; deviceTypeID = json['DeviceTypeID']; tokenID = json['TokenID']; patientID = json['PatientID']; isRegister = json['isRegister']; } Map toJson() { final Map data = new Map(); data['PatientIdentificationID'] = this.patientIdentificationID; data['PatientMobileNumber'] = this.patientMobileNumber; data['ZipCode'] = this.zipCode; data['VersionID'] = this.versionID; data['Channel'] = this.channel; data['LanguageID'] = this.languageID; data['IPAdress'] = this.iPAdress; data['generalid'] = this.generalid; data['PatientOutSA'] = this.patientOutSA; data['SessionID'] = this.sessionID; data['isDentalAllowedBackend'] = this.isDentalAllowedBackend; data['DeviceTypeID'] = this.deviceTypeID; data['TokenID'] = this.tokenID; data['PatientID'] = this.patientID; data['isRegister'] = this.isRegister; return data; } }