fromJson static method

ResponseMcpCallArgumentsDone fromJson(
  1. Map<String, dynamic> j
)
override

Implementation

static ResponseMcpCallArgumentsDone fromJson(Map<String, dynamic> j) {
  switch (j['type']) {
    case 'response.mcp_call_arguments.done':
      return ResponseMcpCallArgumentsDone(j);
    default:
      throw ArgumentError('Unknown MCP-call event ${j['type']}.');
  }
}