append method
Appends additional text to the existing message content.
This is typically used for LLM messages that are streamed in parts.
Implementation
void append(String text) {
_text = (_text ?? '') + text;
notifyListeners();
}
Appends additional text to the existing message content.
This is typically used for LLM messages that are streamed in parts.
void append(String text) {
_text = (_text ?? '') + text;
notifyListeners();
}