FFGenUIChatWidgetProperties constructor
FFGenUIChatWidgetProperties({
- FFGenUIBackendConfig? backendConfig,
- FFStringValue? userSystemPrompt,
- Iterable<
String> ? catalogComponentKeys, - FFGenUIChatStyling? styling,
- Iterable<
FFGenUIFunctionConfig> ? functionConfigs, - FFStringValue? thinkingMessage,
- Iterable<
FFGenUIAppEventListenerConfig> ? appEventListenerConfigs,
Implementation
factory FFGenUIChatWidgetProperties({
FFGenUIBackendConfig? backendConfig,
FFStringValue? userSystemPrompt,
$core.Iterable<$core.String>? catalogComponentKeys,
FFGenUIChatStyling? styling,
$core.Iterable<FFGenUIFunctionConfig>? functionConfigs,
FFStringValue? thinkingMessage,
$core.Iterable<FFGenUIAppEventListenerConfig>? appEventListenerConfigs,
}) {
final result = create();
if (backendConfig != null) result.backendConfig = backendConfig;
if (userSystemPrompt != null) result.userSystemPrompt = userSystemPrompt;
if (catalogComponentKeys != null)
result.catalogComponentKeys.addAll(catalogComponentKeys);
if (styling != null) result.styling = styling;
if (functionConfigs != null) result.functionConfigs.addAll(functionConfigs);
if (thinkingMessage != null) result.thinkingMessage = thinkingMessage;
if (appEventListenerConfigs != null)
result.appEventListenerConfigs.addAll(appEventListenerConfigs);
return result;
}