Questionnaire.fromJson constructor Null safety
Implementation
Questionnaire.fromJson(Map<String, dynamic> json) {
responseCode = json['response_code'];
if (json['results'] != null) {
results = <Results>[];
json['results'].forEach((v) {
results.add(Results.fromJson(v));
});
}
}