toUserAnswersDTO

fun UserAnswers.toUserAnswersDTO(): UserAnswersDTO

A converter method that is used to convert an instance of UserAnswers to an instance of UserAnswersDTO.