Open fobf opened 2 years ago
`class Question { late String questionText; late bool questionAnswer;
Question({required String q, required bool a}) { questionText = q; questionAnswer = a; } } ` one of the possoble solution
class Question { final String questionText; final bool questionAnswer;
Question({ required this.questionText, required this.questionAnswer, }); }
I have this error in the question. dart file. How can I correct it?