ClientRequest class sealed
Revisions: 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25, 2026-07-28.
- Implemented types
- Implementers
- CallToolRequest
- CancelTaskRequest
- CompleteRequest
- DiscoverRequest
- GetPromptRequest
- GetTaskPayloadRequest
- GetTaskRequest
- InitializeRequest
- ListPromptsRequest
- ListResourcesRequest
- ListResourceTemplatesRequest
- ListTasksRequest
- ListToolsRequest
- PingRequest
- ReadResourceRequest
- SetLevelRequest
- SubscribeRequest
- SubscriptionsListenRequest
- UnknownClientRequest
- UnsubscribeRequest
Constructors
-
ClientRequest.fromJson(Map<
String, Object?> json) -
Reads the branch
jsonnames; an unrecognised one is kept as UnknownClientRequest.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, Object?> -
The JSON form of this value.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited