startTest method
void
startTest()
Implementation
void startTest() async {
Timer(Duration(seconds: widget.activity.lengthOfTest), () {
//when time is up, change window and set result
if (mounted) {
widget.eventLogger.testEnded();
widget.onResultChange({'Correct swipes': visualArrayChangeScore});
if (widget.activity.includeResults) {
widget.eventLogger.resultsShown();
setState(() {
activityStatus = ActivityStatus.Result;
});
}
}
});
}