class insertVIDARequest { int patientID; int acceptedBy; int appointmentNo; String deviceToken; double latitude; double longitude; int serviceID; int projectID; int clinicID; String deviceType; String voipToken; double versionID; int channel; int languageID; String iPAdress; String generalid; int patientOutSA; String sessionID; bool isDentalAllowedBackend; int deviceTypeID; insertVIDARequest( {this.patientID, this.acceptedBy, this.appointmentNo, this.deviceToken, this.latitude, this.longitude, this.serviceID, this.projectID, this.clinicID, this.deviceType, this.voipToken, this.versionID, this.channel, this.languageID, this.iPAdress, this.generalid, this.patientOutSA, this.sessionID, this.isDentalAllowedBackend, this.deviceTypeID}); insertVIDARequest.fromJson(Map json) { patientID = json['PatientID']; acceptedBy = json['AcceptedBy']; appointmentNo = json['AppointmentNo']; deviceToken = json['DeviceToken']; latitude = json['Latitude']; longitude = json['Longitude']; serviceID = json['ServiceID']; projectID = json['ProjectID']; clinicID = json['ClinicID']; deviceType = json['DeviceType']; voipToken = json['VoipToken']; 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']; } Map toJson() { final Map data = new Map(); data['PatientID'] = this.patientID; data['AcceptedBy'] = this.acceptedBy; data['AppointmentNo'] = this.appointmentNo; data['DeviceToken'] = this.deviceToken; data['Latitude'] = this.latitude; data['Longitude'] = this.longitude; data['ServiceID'] = this.serviceID; data['ProjectID'] = this.projectID; data['ClinicID'] = this.clinicID; data['DeviceType'] = this.deviceType; data['VoipToken'] = this.voipToken; 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; return data; } }