AnalyzedResourceSummary.fromJson constructor

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

Implementation

factory AnalyzedResourceSummary.fromJson(Map<String, dynamic> json) {
  return AnalyzedResourceSummary(
    resourceArn: json['resourceArn'] as String,
    resourceOwnerAccount: json['resourceOwnerAccount'] as String,
    resourceType: (json['resourceType'] as String).toResourceType(),
  );
}