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