ComplianceViolator.fromJson constructor
Implementation
factory ComplianceViolator.fromJson(Map<String, dynamic> json) {
return ComplianceViolator(
resourceId: json['ResourceId'] as String?,
resourceType: json['ResourceType'] as String?,
violationReason:
(json['ViolationReason'] as String?)?.toViolationReason(),
);
}