setCorrectAnswer method Null safety
- String correctAnswer
Implementation
void setCorrectAnswer(String correctAnswer) {
this.correctAnswer = correctAnswer;
}
void setCorrectAnswer(String correctAnswer) {
this.correctAnswer = correctAnswer;
}