ConversationConfig class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
-
ConversationConfig({bool? textOnly, int? maxDurationSeconds, List<
ClientEvent> ? clientEvents}) -
const
-
ConversationConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
clientEvents
→ List<
ClientEvent> ? -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxDurationSeconds → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textOnly → bool?
-
final
Methods
-
copyWith(
{bool? textOnly, int? maxDurationSeconds, List< ClientEvent> ? clientEvents}) → ConversationConfig -
Available on ConversationConfig, provided by the $ConversationConfigExtension extension
-
copyWithWrapped(
{Wrapped< bool?> ? textOnly, Wrapped<int?> ? maxDurationSeconds, Wrapped<List< ? clientEvents}) → ConversationConfigClientEvent> ?> -
Available on ConversationConfig, provided by the $ConversationConfigExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const ConversationConfig Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(ConversationConfig instance)