GoogleCloudDialogflowV2SuggestArticlesResponse.fromJson constructor

GoogleCloudDialogflowV2SuggestArticlesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SuggestArticlesResponse.fromJson(core.Map json_)
    : this(
        articleAnswers: json_.containsKey('articleAnswers')
            ? (json_['articleAnswers'] as core.List)
                .map((value) => GoogleCloudDialogflowV2ArticleAnswer.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        contextSize: json_.containsKey('contextSize')
            ? json_['contextSize'] as core.int
            : null,
        latestMessage: json_.containsKey('latestMessage')
            ? json_['latestMessage'] as core.String
            : null,
      );