GoogleCloudDialogflowV2DialogflowAssistAnswer.fromJson constructor

GoogleCloudDialogflowV2DialogflowAssistAnswer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2DialogflowAssistAnswer.fromJson(core.Map json_)
    : this(
        answerRecord: json_.containsKey('answerRecord')
            ? json_['answerRecord'] as core.String
            : null,
        intentSuggestion: json_.containsKey('intentSuggestion')
            ? GoogleCloudDialogflowV2IntentSuggestion.fromJson(
                json_['intentSuggestion']
                    as core.Map<core.String, core.dynamic>)
            : null,
        queryResult: json_.containsKey('queryResult')
            ? GoogleCloudDialogflowV2QueryResult.fromJson(
                json_['queryResult'] as core.Map<core.String, core.dynamic>)
            : null,
      );