AgentInfo.fromJson constructor

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

Implementation

factory AgentInfo.fromJson(Map<String, dynamic> json) {
  return AgentInfo(
    name: json['name'] as String,
    displayName: json['displayName'] as String?,
    description: json['description'] as String?,
  );
}