fromJson static method

AgentConnectionInfo fromJson(
  1. Map<String, dynamic> json
)

Implementation

static AgentConnectionInfo fromJson(Map<String, dynamic> json) {
  return AgentConnectionInfo(
    jwt: json["jwt"],
    agentName: json["agent_name"],
    projectId: json["project_id"],
    agentUrl: Uri.parse(json["agent_url"]),
  );
}