ToolListChangedNotification.toMCP constructor
Builds a ToolListChangedNotification from a decoded MCP JSON map.
Implementation
factory ToolListChangedNotification.toMCP(Map<String, Object?> map) {
return ToolListChangedNotification(
params: map['params'] != null
? NotificationParams.toMCP(map['params'] as Map<String, Object?>)
: null,
);
}