DescribeTrustedAdvisorCheckSummariesResponse.fromJson constructor

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

Implementation

factory DescribeTrustedAdvisorCheckSummariesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeTrustedAdvisorCheckSummariesResponse(
    summaries: (json['summaries'] as List)
        .whereNotNull()
        .map((e) =>
            TrustedAdvisorCheckSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}