copyWith method
Return a new ChatMessagePromptTemplate instance with the given values.
Implementation
@override
ChatMessagePromptTemplate copyWith({
final BasePromptTemplate? prompt,
final String? variableName,
}) {
return MessagesPlaceholder(
variableName: variableName ?? this.variableName,
);
}