UserAnswers

fun UserAnswers(    associatedWorkBookId: String,     answers: Map<MultiChoiceQuestion, IndexOfChosenOption>,     marksObtainedForWorkBook: Int)

Parameters

associatedWorkBookId

the id of the associated WorkBook.

answers

a map that contains the IndexOfChosenOption for each MultiChoiceQuestion.

marksObtainedForWorkBook

indicates the total marks obtained for the WorkBook with the associatedWorkBookId.