GoogleCloudDialogflowV2AutomatedAgentReply.fromJson constructor

GoogleCloudDialogflowV2AutomatedAgentReply.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2AutomatedAgentReply.fromJson(core.Map json_)
  : this(
      allowCancellation: json_['allowCancellation'] as core.bool?,
      automatedAgentReplyType:
          json_['automatedAgentReplyType'] as core.String?,
      cxCurrentPage: json_['cxCurrentPage'] as core.String?,
      detectIntentResponse:
          json_.containsKey('detectIntentResponse')
              ? GoogleCloudDialogflowV2DetectIntentResponse.fromJson(
                json_['detectIntentResponse']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );