StopDataCollectionByAgentIdsResponse.fromJson constructor

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

Implementation

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