startTest method

void startTest()

Implementation

void startTest() async {
  Timer(Duration(seconds: widget.activity.lengthOfTest), () {
    if (mounted) {
      widget.eventLogger.testEnded();
      widget.onResultChange({'Correct swipes': pictureSequenceScore});
      if (widget.activity.includeResults) {
        widget.eventLogger.resultsShown();
      }
      setState(() {
        activityStatus = ActivityStatus.Result;
      });
    }
  });
}