ComplianceDetails.fromJson constructor
Implementation
factory ComplianceDetails.fromJson(Map<String, dynamic> json) {
return ComplianceDetails(
complianceStatus: json['ComplianceStatus'] as bool?,
keysWithNoncompliantValues: (json['KeysWithNoncompliantValues'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
noncompliantKeys: (json['NoncompliantKeys'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}