getPrompt method
Gets the response for a given prompt.
Implementation
@mustCallSuper
FutureOr<GetPromptResult> getPrompt(GetPromptRequest request) {
final impl = _promptImpls[request.name];
if (impl == null) {
throw ArgumentError.value(request.name, 'name', 'Prompt not found');
}
return impl(request);
}