PolicySummary.fromJson constructor
PolicySummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PolicySummary.fromJson(Map<String, dynamic> json) {
return PolicySummary(
policyArn: json['PolicyArn'] as String?,
policyId: json['PolicyId'] as String?,
policyName: json['PolicyName'] as String?,
remediationEnabled: json['RemediationEnabled'] as bool?,
resourceType: json['ResourceType'] as String?,
securityServiceType:
(json['SecurityServiceType'] as String?)?.toSecurityServiceType(),
);
}