setInputPrompt method

void setInputPrompt(
  1. String prompt
)

Sets a prompt to be populated into the chat input bar and notifies listeners.

Implementation

void setInputPrompt(String prompt) {
  _pendingInputPrompt = prompt;
  currentInputPrompt = prompt;
  notifyListeners();
}