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