removePrompt method

void removePrompt(
  1. String name
)

Removes a prompt and notifies clients that the list has changed.

Implementation

void removePrompt(String name) {
  _prompts.remove(name);
  _promptImpls.remove(name);
  if (ready) {
    _notifyPromptListChanged();
  }
}