clear method

void clear()

Clears the conversation.

Implementation

void clear() {
  _messages.clear();
  isStreaming = false;
  notifyListeners();
}