makeGuess method
void
makeGuess()
Implementation
void makeGuess() {
sWidget.eventLogger.testEnded();
timesTaken.add(seconds);
timer?.cancel();
resultsList3 = wordBuffer;
var delayedRecallScore = sWidget.activity
.calculateScore({'wordsList': words, 'resultsList': resultsList3});
var result = RPDelayedRecallResult.fromResults(
words, resultsList3, seconds, delayedRecallScore);
sWidget.onResultChange(result.results);
if (sWidget.activity.includeResults) {
sWidget.eventLogger.resultsShown();
setState(() {
finished = true;
});
} else {
setState(() {
finished = true;
});
}
}