App-Support > healthstack.app.task.utils > ItemToModelUtil
ItemToModelUtil
[androidJvm]
object ItemToModelUtil
Functions
Name | Summary |
---|---|
toChoice | [androidJvm] fun toChoice(item: Item): ChoiceQuestionModel<Any> |
toDateTime | [androidJvm] fun toDateTime(item: Item): DateTimeQuestionModel |
toImageChoice | [androidJvm] fun toImageChoice(item: Item): ImageChoiceQuestionModel |
toMultiChoice | [androidJvm] fun toMultiChoice(item: Item): MultiChoiceQuestionModel |
toRank | [androidJvm] fun toRank(item: Item): RankingQuestionModel |
toScale | [androidJvm] fun toScale(item: Item): ChoiceQuestionModel<Any> |
toText | [androidJvm] fun toText(item: Item): TextInputQuestionModel |