CorrectAnswers.fromJson constructor
CorrectAnswers.fromJson(
- Map json_
Implementation
CorrectAnswers.fromJson(core.Map json_)
: this(
answers: json_.containsKey('answers')
? (json_['answers'] as core.List)
.map((value) => CorrectAnswer.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);