copyWith method
ConversationConfig
copyWith({
- bool? textOnly,
- int? maxDurationSeconds,
- List<
ClientEvent> ? clientEvents,
Implementation
ConversationConfig copyWith(
{bool? textOnly,
int? maxDurationSeconds,
List<enums.ClientEvent>? clientEvents}) {
return ConversationConfig(
textOnly: textOnly ?? this.textOnly,
maxDurationSeconds: maxDurationSeconds ?? this.maxDurationSeconds,
clientEvents: clientEvents ?? this.clientEvents);
}