JSONRPCResultResponse.toMCP constructor
Implementation
factory JSONRPCResultResponse.toMCP(Map<String, Object?> map) {
return JSONRPCResultResponse(
jsonrpc: map['jsonrpc'] as String,
id: map['id']?.toString() ?? '-1',
result: Result.toMCP(map['result'] as Map<String, Object?>),
);
}