CustomQuestion.fromJson constructor
CustomQuestion.fromJson(
- Map json_
Implementation
CustomQuestion.fromJson(core.Map json_)
: this(
answerChoices: (json_['answerChoices'] as core.List?)
?.map(
(value) => CustomAnswerChoice.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
categoryLabel: json_['categoryLabel'] as core.String?,
displayText: json_['displayText'] as core.String?,
id: json_['id'] as core.String?,
);