GoogleCloudDialogflowCxV3Action.fromJson constructor

GoogleCloudDialogflowCxV3Action.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3Action.fromJson(core.Map json_)
  : this(
      agentUtterance: json_.containsKey('agentUtterance')
          ? GoogleCloudDialogflowCxV3AgentUtterance.fromJson(
              json_['agentUtterance'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      flowInvocation: json_.containsKey('flowInvocation')
          ? GoogleCloudDialogflowCxV3FlowInvocation.fromJson(
              json_['flowInvocation'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      flowTransition: json_.containsKey('flowTransition')
          ? GoogleCloudDialogflowCxV3FlowTransition.fromJson(
              json_['flowTransition'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      playbookInvocation: json_.containsKey('playbookInvocation')
          ? GoogleCloudDialogflowCxV3PlaybookInvocation.fromJson(
              json_['playbookInvocation']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      playbookTransition: json_.containsKey('playbookTransition')
          ? GoogleCloudDialogflowCxV3PlaybookTransition.fromJson(
              json_['playbookTransition']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      toolUse: json_.containsKey('toolUse')
          ? GoogleCloudDialogflowCxV3ToolUse.fromJson(
              json_['toolUse'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      userUtterance: json_.containsKey('userUtterance')
          ? GoogleCloudDialogflowCxV3UserUtterance.fromJson(
              json_['userUtterance'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );