EvaluationResult.fromJson constructor

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

Implementation

factory EvaluationResult.fromJson(Map<String, dynamic> json) {
  return EvaluationResult(
    complianceStatus:
        (json['ComplianceStatus'] as String?)?.toPolicyComplianceStatusType(),
    evaluationLimitExceeded: json['EvaluationLimitExceeded'] as bool?,
    violatorCount: json['ViolatorCount'] as int?,
  );
}