DescribeAgentsResponse.fromJson constructor
Implementation
factory DescribeAgentsResponse.fromJson(Map<String, dynamic> json) {
return DescribeAgentsResponse(
agentsInfo: (json['agentsInfo'] as List?)
?.whereNotNull()
.map((e) => AgentInfo.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}