PromptCallback
Prompt callback function type.
Called when a prompt is requested with the given arguments.
Implementation
typedef PromptCallback =
Future<GetPromptResult> Function(Map<String, String> args);
Prompt callback function type.
Called when a prompt is requested with the given arguments.
typedef PromptCallback =
Future<GetPromptResult> Function(Map<String, String> args);