GoogleCloudDialogflowV2GenerateStatelessSummaryRequest.fromJson constructor

GoogleCloudDialogflowV2GenerateStatelessSummaryRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2GenerateStatelessSummaryRequest.fromJson(
    core.Map json_)
    : this(
        conversationProfile: json_.containsKey('conversationProfile')
            ? GoogleCloudDialogflowV2ConversationProfile.fromJson(
                json_['conversationProfile']
                    as core.Map<core.String, core.dynamic>)
            : null,
        latestMessage: json_.containsKey('latestMessage')
            ? json_['latestMessage'] as core.String
            : null,
        maxContextSize: json_.containsKey('maxContextSize')
            ? json_['maxContextSize'] as core.int
            : null,
        statelessConversation: json_.containsKey('statelessConversation')
            ? GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
                .fromJson(json_['statelessConversation']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );