copyWith method
Implementation
BotSubsessionTopicContext copyWith({
String? conversationId,
V2NIMTopic? topic,
bool? isPlaceholder,
String? placeholderTitle,
String? localKey,
}) {
return BotSubsessionTopicContext(
conversationId: conversationId ?? this.conversationId,
topic: topic ?? this.topic,
isPlaceholder: isPlaceholder ?? this.isPlaceholder,
placeholderTitle: placeholderTitle ?? this.placeholderTitle,
localKey: localKey ?? this.localKey,
);
}