Sub2ApiAdminRiskControlAuditResult constructor

Sub2ApiAdminRiskControlAuditResult({
  1. required bool flagged,
  2. required String highestCategory,
  3. required Sub2ApiDecimal highestScore,
  4. required Sub2ApiDecimal compositeScore,
  5. required Map<String, Sub2ApiDecimal> categoryScores,
  6. required Map<String, Sub2ApiDecimal> thresholds,
})

Implementation

Sub2ApiAdminRiskControlAuditResult({
  required this.flagged,
  required this.highestCategory,
  required this.highestScore,
  required this.compositeScore,
  required Map<String, Sub2ApiDecimal> categoryScores,
  required Map<String, Sub2ApiDecimal> thresholds,
}) : categoryScores = Map.unmodifiable(categoryScores),
     thresholds = Map.unmodifiable(thresholds);