ConformancePackRuleCompliance.fromJson constructor

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

Implementation

factory ConformancePackRuleCompliance.fromJson(Map<String, dynamic> json) {
  return ConformancePackRuleCompliance(
    complianceType: (json['ComplianceType'] as String?)
        ?.toConformancePackComplianceType(),
    configRuleName: json['ConfigRuleName'] as String?,
  );
}