ReadResourceRequestParams class

Parameters for a resources/read request.

Inheritance

Constructors

ReadResourceRequestParams({required RequestMetaObject $meta, InputResponses inputResponses, String? requestState, required String uri})
Creates a ReadResourceRequestParams.
ReadResourceRequestParams.toMCP(Map<String, Object?> map)
Builds a ReadResourceRequestParams from a decoded MCP JSON map.
factory

Properties

$meta ↔ RequestMetaObject
Request metadata (required — carries protocol version & capabilities).
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
inputResponses ↔ InputRequests
Responses to a prior InputRequiredResult.inputRequests.
getter/setter pairinherited
requestState ↔ String?
Opaque state token echoed back from a prior InputRequiredResult.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri ↔ String
The URI of the resource.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
Converts this ReadResourceRequestParams into a JSON-compatible map.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited