GoogleCloudDialogflowV2SearchKnowledgeAnswer.fromJson constructor

GoogleCloudDialogflowV2SearchKnowledgeAnswer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SearchKnowledgeAnswer.fromJson(core.Map json_)
  : this(
      answer: json_['answer'] as core.String?,
      answerRecord: json_['answerRecord'] as core.String?,
      answerSources: (json_['answerSources'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      answerType: json_['answerType'] as core.String?,
    );