AgentListEntry.fromJson constructor

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

Implementation

factory AgentListEntry.fromJson(Map<String, dynamic> json) {
  return AgentListEntry(
    agentArn: json['AgentArn'] as String?,
    name: json['Name'] as String?,
    status: (json['Status'] as String?)?.toAgentStatus(),
  );
}