append method

void append(
  1. String text
)

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();
}