GoogleCloudDialogflowV2AutomatedAgentReply.fromJson constructor

GoogleCloudDialogflowV2AutomatedAgentReply.fromJson(
  1. Map json_
)

Implementation

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