GoogleCloudDialogflowV2HumanAgentHandoffConfig.fromJson constructor

GoogleCloudDialogflowV2HumanAgentHandoffConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2HumanAgentHandoffConfig.fromJson(core.Map json_)
    : this(
        livePersonConfig: json_.containsKey('livePersonConfig')
            ? GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig
                .fromJson(json_['livePersonConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        salesforceLiveAgentConfig: json_
                .containsKey('salesforceLiveAgentConfig')
            ? GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig
                .fromJson(json_['salesforceLiveAgentConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );