nextCard method

void nextCard()

Puxa a próxima carta do baralho

Implementation

void nextCard() {
  this._flashcard = this._deck.pullCard();
  if (this._flashcard == null) {
    this._deck.reset();
    this._flashcard = this._deck.pullCard();
    this._end = true;
    this._deck.reset();
  }
  notifyListeners();
}