EditFlashcardBody constructor
Implementation
EditFlashcardBody(Deck deck, Flashcard flashcardReceived) {
this.flashcardReceived = flashcardReceived;
this.deck = deck;
if (flashcardReceived != null) {
myControllerFrente.text = this.flashcardReceived.getFace();
oldNameFrente = this.flashcardReceived.getFace();
myControllerVerso.text = this.flashcardReceived.getBack();
oldNameVerso = this.flashcardReceived.getBack();
}
}