GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest.fromJson constructor

GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest.fromJson(
    core.Map json_)
    : this(
        participantRole: json_.containsKey('participantRole')
            ? json_['participantRole'] as core.String
            : null,
        suggestionFeatureConfig: json_.containsKey('suggestionFeatureConfig')
            ? GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
                .fromJson(json_['suggestionFeatureConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );