MultipleChoiceQuestion.fromJson constructor

MultipleChoiceQuestion.fromJson(
  1. Map json_
)

Implementation

MultipleChoiceQuestion.fromJson(core.Map json_)
    : this(
        choices: json_.containsKey('choices')
            ? (json_['choices'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );