startTest method

void startTest()

Implementation

void startTest() async {
  memoryTimer?.cancel();
  memorySecondList.add(memorySeconds);
  setState(() {
    picCurrentNum += 1;
    waiting = true;
    pictures.shuffle();
    _tiles = [];
    for (int i = 0; i < numberOfPics; i++) {
      _tiles.add(buildPicture(i, pictures[i]));
    }
  });
  await Future<dynamic>.delayed(const Duration(seconds: 2));
  setState(() {
    waiting = false;
    guess = true;
  });
  startTimer();
}