notificationDirect method
Sends an arbitrary JSON-RPC notification through the direct API.
Implementation
Future<void> notificationDirect(
String method, {
McpJsonMap? params,
String? protocolVersion,
Map<String, String> headers = const <String, String>{},
}) {
return notification(
method,
params: params,
streamable: false,
includeSession: false,
protocolVersion: protocolVersion,
headers: headers,
);
}