AnthropicMCPServer.fromJson constructor
AnthropicMCPServer.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AnthropicMCPServer.fromJson(Map<String, dynamic> json) =>
AnthropicMCPServer(
name: json['name'] as String,
type: json['type'] as String,
url: json['url'] as String,
authorizationToken: json['authorization_token'] as String?,
toolConfiguration: json['tool_configuration'] != null
? AnthropicMCPToolConfiguration.fromJson(
json['tool_configuration'] as Map<String, dynamic>)
: null,
);