Implementation.toMCP constructor
Implementation
factory Implementation.toMCP(Map<String, Object?> map) {
return Implementation(
icons: map['icons'] != null
? (map['icons'] as List<dynamic>)
.map((e) => Icon.toMCP(e as Map<String, Object?>))
.toList()
: null,
name: map['name'] as String,
description: map['description'] as String?,
title: map['title'] as String?,
version: map['version'] as String?,
websiteUrl: map['websiteUrl'] as String?,
);
}