testConcluded method
Implementation
void testConcluded(int result, int mistakes) {
int score = 5 - mistakes;
widget.onResultChange({'Completion time': result, 'score': score});
taskTime = result;
if (widget.activity.includeResults) {
widget.eventLogger.resultsShown();
}
if (mounted) {
setState(() {
activityStatus = ActivityStatus.Result;
});
}
}