FlashcardNormal

data class FlashcardNormal: Flashcard

Type 0 of the flashcard. It adds a front site and a back site.

Fields

Name Description
val front: String

The front site of the the flashcard.

val back: String

The back site of the flashcard

Constructors

<init>

constructor(cardId: Long?, front: String, back: String)

Constructor to hand over the cardId to the super class

Parameters

Name Description
cardId: Long?
front: String
back: String

<init>

constructor(front: String, back: String)

Type 0 of the flashcard. It adds a front site and a back site.

Parameters

Name Description
front: String

The front site of the the flashcard.

back: String

The back site of the flashcard