survey_js_core 0.0.2+1 copy "survey_js_core: ^0.0.2+1" to clipboard
survey_js_core: ^0.0.2+1 copied to clipboard

Flutter package for parsing survey json.

Package for generating survey model from json. Usage:- After creating survey json,you have to pass it to the SurveyJsonParser

SurveyJsonParser surveyJsonParser =SurveyJsonParser();
surveyJsonParser.parseSurveyJson(json);
copied to clipboard

parseSurveyJson(json) method return the Survey object.
for validating your questions you have to pass your survey model and input data.
input data you have to pass in the below format.

 List<Map<String, dynamic>> data;
copied to clipboard

where in Map key will be your questionName and value could be anything.

SurveyChecker surveyChecker=SurveyChecker();
surveyChecker.completeSurvey(surveyModel, data);
copied to clipboard

completeSurvey(surveyModel,data) method will give error if any.

Note:-currently there are four question type supported.

  1. Text
  2. CheckBox
  3. Radiogroup
  4. Dropdown.

for more information visit https://surveyjs.io/.

2
likes
20
points
13
downloads

Publisher

verified publishersolutelabs.com

Weekly Downloads

2024.09.19 - 2025.04.03

Flutter package for parsing survey json.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on survey_js_core