HumanAgentHandoffConfig constructor

HumanAgentHandoffConfig({
  1. HumanAgentHandoffConfig_LivePersonConfig? livePersonConfig,
  2. HumanAgentHandoffConfig_SalesforceLiveAgentConfig? salesforceLiveAgentConfig,
})

Implementation

factory HumanAgentHandoffConfig({
  HumanAgentHandoffConfig_LivePersonConfig? livePersonConfig,
  HumanAgentHandoffConfig_SalesforceLiveAgentConfig?
      salesforceLiveAgentConfig,
}) {
  final _result = create();
  if (livePersonConfig != null) {
    _result.livePersonConfig = livePersonConfig;
  }
  if (salesforceLiveAgentConfig != null) {
    _result.salesforceLiveAgentConfig = salesforceLiveAgentConfig;
  }
  return _result;
}