class MedicalReportTemplate { String setupID; int projectID; int templateID; String procedureID; int reportType; String templateName; String templateNameN; String templateText; String templateTextN; bool isActive; String templateTextHtml; String templateTextNHtml; MedicalReportTemplate( {this.setupID, this.projectID, this.templateID, this.procedureID, this.reportType, this.templateName, this.templateNameN, this.templateText, this.templateTextN, this.isActive, this.templateTextHtml, this.templateTextNHtml}); MedicalReportTemplate.fromJson(Map json) { setupID = json['SetupID']; projectID = json['ProjectID']; templateID = json['TemplateID']; procedureID = json['ProcedureID']; reportType = json['ReportType']; templateName = json['TemplateName']; templateNameN = json['TemplateNameN']; templateText = json['TemplateText']; templateTextN = json['TemplateTextN']; isActive = json['IsActive']; templateTextHtml = json['TemplateTextHtml']; templateTextNHtml = json['TemplateTextNHtml']; } Map toJson() { final Map data = new Map(); data['SetupID'] = this.setupID; data['ProjectID'] = this.projectID; data['TemplateID'] = this.templateID; data['ProcedureID'] = this.procedureID; data['ReportType'] = this.reportType; data['TemplateName'] = this.templateName; data['TemplateNameN'] = this.templateNameN; data['TemplateText'] = this.templateText; data['TemplateTextN'] = this.templateTextN; data['IsActive'] = this.isActive; data['TemplateTextHtml'] = this.templateTextHtml; data['TemplateTextNHtml'] = this.templateTextNHtml; return data; } }