TextAnswers.fromJson constructor

TextAnswers.fromJson(
  1. Map json_
)

Implementation

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