class TriageQuestionsModel { String adultPoints; String headerSequence; int parameterCode; int parameterGroup; int parameterType; String pediaPoints; String question; String questionN; String scoreGroup; String titles; TriageQuestionsModel( {this.adultPoints, this.headerSequence, this.parameterCode, this.parameterGroup, this.parameterType, this.pediaPoints, this.question, this.questionN, this.scoreGroup, this.titles}); TriageQuestionsModel.fromJson(Map json) { adultPoints = json['AdultPoints']; headerSequence = json['HeaderSequence']; parameterCode = json['ParameterCode']; parameterGroup = json['ParameterGroup']; parameterType = json['ParameterType']; pediaPoints = json['PediaPoints']; question = json['Question']; questionN = json['QuestionN']; scoreGroup = json['ScoreGroup']; titles = json['Titles']; } Map toJson() { final Map data = new Map(); data['AdultPoints'] = this.adultPoints; data['HeaderSequence'] = this.headerSequence; data['ParameterCode'] = this.parameterCode; data['ParameterGroup'] = this.parameterGroup; data['ParameterType'] = this.parameterType; data['PediaPoints'] = this.pediaPoints; data['Question'] = this.question; data['QuestionN'] = this.questionN; data['ScoreGroup'] = this.scoreGroup; data['Titles'] = this.titles; return data; } }