TrustedAdvisorCheckSummary.fromJson constructor

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

Implementation

factory TrustedAdvisorCheckSummary.fromJson(Map<String, dynamic> json) {
  return TrustedAdvisorCheckSummary(
    categorySpecificSummary: TrustedAdvisorCategorySpecificSummary.fromJson(
        json['categorySpecificSummary'] as Map<String, dynamic>),
    checkId: json['checkId'] as String,
    resourcesSummary: TrustedAdvisorResourcesSummary.fromJson(
        json['resourcesSummary'] as Map<String, dynamic>),
    status: json['status'] as String,
    timestamp: json['timestamp'] as String,
    hasFlaggedResources: json['hasFlaggedResources'] as bool?,
  );
}