JSONRPCNotification.toMCP constructor
Implementation
factory JSONRPCNotification.toMCP(Map<String, Object?> map) {
return JSONRPCNotification(
jsonrpc: map['jsonrpc'] as String,
method: map['method'] as String,
params: map['params'] as Map<String, Object?>?,
);
}