DescribeAgentVersionsResult.fromJson constructor

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

Implementation

factory DescribeAgentVersionsResult.fromJson(Map<String, dynamic> json) {
  return DescribeAgentVersionsResult(
    agentVersions: (json['AgentVersions'] as List?)
        ?.whereNotNull()
        .map((e) => AgentVersion.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}