NestedQuestion constructor
NestedQuestion({
- required dynamic question,
- dynamic answers = const ["Yes", "No"],
- dynamic children,
- dynamic parent,
- dynamic isMandatory = false,
Implementation
NestedQuestion(
{required question,
answers = const ["Yes", "No"],
children,
parent,
isMandatory = false})
: super(question: question, answers: answers) {
this.question = question;
this.answers = answers;
this.children = children;
this.parent = parent;
this.isMandatory = isMandatory;
}