isAnsweredCorrect method
Implementation
bool isAnsweredCorrect() {
if (questions!.first.answer == myAnswer!.first.option) {
return true;
} else {
return false;
}
}
bool isAnsweredCorrect() {
if (questions!.first.answer == myAnswer!.first.option) {
return true;
} else {
return false;
}
}