GoogleCloudDialogflowCxV3ConversationTurn.fromJson constructor

GoogleCloudDialogflowCxV3ConversationTurn.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3ConversationTurn.fromJson(core.Map json_)
    : this(
        userInput: json_.containsKey('userInput')
            ? GoogleCloudDialogflowCxV3ConversationTurnUserInput.fromJson(
                json_['userInput'] as core.Map<core.String, core.dynamic>)
            : null,
        virtualAgentOutput: json_.containsKey('virtualAgentOutput')
            ? GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
                .fromJson(json_['virtualAgentOutput']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );