InputRequiredResult class
Draft InputRequiredResult — the server needs more input before the original
request can complete. At least one of inputRequests / requestState is
present; requestState is an OPAQUE blob the client MUST NOT interpret and
echoes back verbatim on retry.
Constructors
-
InputRequiredResult({Map<
String, Map< inputRequests = const {}, String? requestState})String, dynamic> > -
const
-
InputRequiredResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputRequests
→ Map<
String, Map< String, dynamic> > -
Server-issued requests keyed by a server-assigned identifier. Each value is
a
{ "method": ..., "params": ... }request object (sampling/createMessage|roots/list|elicitation/create).final - requestState → String?
-
Opaque state blob echoed back on retry (may be null when only inputs were
requested).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited