ComplianceByConfigRule.fromJson constructor

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

Implementation

factory ComplianceByConfigRule.fromJson(Map<String, dynamic> json) {
  return ComplianceByConfigRule(
    compliance: json['Compliance'] != null
        ? Compliance.fromJson(json['Compliance'] as Map<String, dynamic>)
        : null,
    configRuleName: json['ConfigRuleName'] as String?,
  );
}