CustomerAgentInfo.fromJson constructor
CustomerAgentInfo.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CustomerAgentInfo.fromJson(Map<String, dynamic> json) {
return CustomerAgentInfo(
activeAgents: json['activeAgents'] as int,
blackListedAgents: json['blackListedAgents'] as int,
healthyAgents: json['healthyAgents'] as int,
shutdownAgents: json['shutdownAgents'] as int,
totalAgents: json['totalAgents'] as int,
unhealthyAgents: json['unhealthyAgents'] as int,
unknownAgents: json['unknownAgents'] as int,
);
}