elicitResult method
The elicitation arm of the schema InputResponse union under key.
Missing key is null. A value without action throws ArgumentError.
Implementation
ElicitResult? elicitResult(String key) {
final value = _typedInputResponse(key, const [Keys.action]);
return value == null ? null : value as ElicitResult;
}