class AppoitmentRated { String setupID; int projectID; int appointmentNo; String appointmentDate; String appointmentDateN; int appointmentType; String bookDate; int patientType; int patientID; int clinicID; int doctorID; String endDate; String startTime; String endTime; int status; int visitType; int visitFor; int patientStatusType; int companyID; int bookedBy; String bookedOn; int confirmedBy; String confirmedOn; int arrivalChangedBy; String arrivedOn; int editedBy; String editedOn; Null doctorName; String doctorNameN; String statusDesc; String statusDescN; bool vitalStatus; Null vitalSignAppointmentNo; int episodeID; String doctorTitle; bool isAppoitmentLiveCare; AppoitmentRated( {this.setupID, this.projectID, this.appointmentNo, this.appointmentDate, this.appointmentDateN, this.appointmentType, this.bookDate, this.patientType, this.patientID, this.clinicID, this.doctorID, this.endDate, this.startTime, this.endTime, this.status, this.visitType, this.visitFor, this.patientStatusType, this.companyID, this.bookedBy, this.bookedOn, this.confirmedBy, this.confirmedOn, this.arrivalChangedBy, this.arrivedOn, this.editedBy, this.editedOn, this.doctorName, this.doctorNameN, this.statusDesc, this.statusDescN, this.vitalStatus, this.vitalSignAppointmentNo, this.episodeID, this.doctorTitle, this.isAppoitmentLiveCare}); AppoitmentRated.fromJson(Map json) { try { setupID = json['SetupID']; projectID = json['ProjectID']; appointmentNo = json['AppointmentNo']; appointmentDate = json['AppointmentDate']; appointmentDateN = json['AppointmentDateN']; appointmentType = json['AppointmentType']; bookDate = json['BookDate']; patientType = json['PatientType']; patientID = json['PatientID']; clinicID = json['ClinicID']; doctorID = json['DoctorID']; endDate = json['EndDate']; startTime = json['StartTime']; endTime = json['EndTime']; status = json['Status']; visitType = json['VisitType']; visitFor = json['VisitFor']; patientStatusType = json['PatientStatusType']; companyID = json['CompanyID']; bookedBy = json['BookedBy']; bookedOn = json['BookedOn']; confirmedBy = json['ConfirmedBy']; confirmedOn = json['ConfirmedOn']; arrivalChangedBy = json['ArrivalChangedBy']; arrivedOn = json['ArrivedOn']; editedBy = json['EditedBy']; editedOn = json['EditedOn']; doctorName = json['DoctorName']; doctorNameN = json['DoctorNameN']; statusDesc = json['StatusDesc']; statusDescN = json['StatusDescN']; vitalStatus = json['VitalStatus']; vitalSignAppointmentNo = json['VitalSignAppointmentNo']; episodeID = json['EpisodeID']; doctorTitle = json['DoctorTitle']; isAppoitmentLiveCare = json['IsAppoitmentLiveCare']; } catch (e) { print(e); } } Map toJson() { final Map data = new Map(); data['SetupID'] = this.setupID; data['ProjectID'] = this.projectID; data['AppointmentNo'] = this.appointmentNo; data['AppointmentDate'] = this.appointmentDate; data['AppointmentDateN'] = this.appointmentDateN; data['AppointmentType'] = this.appointmentType; data['BookDate'] = this.bookDate; data['PatientType'] = this.patientType; data['PatientID'] = this.patientID; data['ClinicID'] = this.clinicID; data['DoctorID'] = this.doctorID; data['EndDate'] = this.endDate; data['StartTime'] = this.startTime; data['EndTime'] = this.endTime; data['Status'] = this.status; data['VisitType'] = this.visitType; data['VisitFor'] = this.visitFor; data['PatientStatusType'] = this.patientStatusType; data['CompanyID'] = this.companyID; data['BookedBy'] = this.bookedBy; data['BookedOn'] = this.bookedOn; data['ConfirmedBy'] = this.confirmedBy; data['ConfirmedOn'] = this.confirmedOn; data['ArrivalChangedBy'] = this.arrivalChangedBy; data['ArrivedOn'] = this.arrivedOn; data['EditedBy'] = this.editedBy; data['EditedOn'] = this.editedOn; data['DoctorName'] = this.doctorName; data['DoctorNameN'] = this.doctorNameN; data['StatusDesc'] = this.statusDesc; data['StatusDescN'] = this.statusDescN; data['VitalStatus'] = this.vitalStatus; data['VitalSignAppointmentNo'] = this.vitalSignAppointmentNo; data['EpisodeID'] = this.episodeID; data['DoctorTitle'] = this.doctorTitle; data['IsAppoitmentLiveCare'] = this.isAppoitmentLiveCare; return data; } }