PingResultResponse class
The JSON-RPC response to a PingRequest.
Constructors
- PingResultResponse({required String id, required Result result})
- Creates a PingResultResponse.
-
PingResultResponse.toMCP(Map<
String, Object?> map) -
Builds a PingResultResponse from a decoded MCP JSON map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
Converts this PingResultResponse into a JSON-compatible map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited