AnalysisResult constructor
const
AnalysisResult({
- required String packageName,
- required String currentVersion,
- required String targetVersion,
- required RiskLevel riskLevel,
- required double riskScore,
- required int totalFilesAffected,
- required int totalLocationsAffected,
- required List<
BreakingChangeImpact> impacts, - required List<
CascadingImpact> cascadingImpacts, - List<
String> warnings = const [], - double overallConfidence = 1.0,
Implementation
const AnalysisResult({
required this.packageName,
required this.currentVersion,
required this.targetVersion,
required this.riskLevel,
required this.riskScore,
required this.totalFilesAffected,
required this.totalLocationsAffected,
required this.impacts,
required this.cascadingImpacts,
this.warnings = const [],
this.overallConfidence = 1.0,
});