AssistantApiKeyConfig class
Constructors
-
AssistantApiKeyConfig({bool showCloseButtons = true, bool showNewConversationButton = true, bool forceFullMode = false, String privacyPolicyURL = '', String termsOfServiceURL = '', int maxMessagePerConversation = 20, String tooManyMessageErrorText = '', int webComponentOpenerSize = 70, String position = 'right', int marginBottom = 10, required List<
String> chatEngagementPrompts, ApiKeyEngagementPromptMode chatEngagementPromptMode = ApiKeyEngagementPromptMode.rotate, int chatEngagementPromptRotateTime = 5, bool engagementSound = true, bool hidePupauBranding = false, String headerColor = '#15559d'}) -
const
-
AssistantApiKeyConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chatEngagementPromptMode → ApiKeyEngagementPromptMode
-
final
- chatEngagementPromptRotateTime → int
-
final
-
chatEngagementPrompts
→ List<
String> -
final
- engagementSound → bool
-
final
- forceFullMode → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerColor → String
-
final
- hidePupauBranding → bool
-
final
- marginBottom → int
-
final
- maxMessagePerConversation → int
-
final
- position → String
-
final
- privacyPolicyURL → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCloseButtons → bool
-
final
- showNewConversationButton → bool
-
final
- termsOfServiceURL → String
-
final
- tooManyMessageErrorText → String
-
final
- webComponentOpenerSize → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getApiKeyEngagementPromptModeEnum(
String? promptMode) → ApiKeyEngagementPromptMode