loadQuestions method
void
loadQuestions()
Implementation
void loadQuestions() {
state = state.copyWith(questions: questions, currentIndex: 0, score: 0);
}
void loadQuestions() {
state = state.copyWith(questions: questions, currentIndex: 0, score: 0);
}