User Answers DTO
data class UserAnswersDTO( val associatedWorkBookId: String, val answersDetailsMap: List<Map<String, String>>, val marksObtainedForWorkBook: String)
Content copied to clipboard
A DTO object for UserAnswers.
Parameters
associated Work Book Id
the id of the workbook associated with the UserAnswers object.
answers Details Map
a map with custom objects as keys are not supported. Only strings are supported. Therefore, it is not possible to use Map for answers. To accommodate for that, a list of maps are used to store the details of the each answer. A map in the list consists of the details of a particular mcq question.