CodeReviewFinding class
An individual structured finding emitted by the Code Review Engine.
- Implemented types
- Implementers
Constructors
- CodeReviewFinding({required CodeReviewSeverity severity, required CodeReviewCategory category, required String file, required String location, required String problem, required String explanation, required String recommendation, required CodeReviewConfidence confidence})
-
const
-
CodeReviewFinding.fromJson(Map<
String, dynamic> json) -
factory
Properties
- category → CodeReviewCategory
-
Domain category of the finding.
final
- confidence → CodeReviewConfidence
-
Honest confidence rating based on context availability.
final
- explanation → String
-
In-depth explanation of why this is an issue.
final
- file → String
-
Relative file path where the issue was found.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- location → String
-
Specific location in the file (e.g. "L42", "L10-L25", or symbol name).
final
- problem → String
-
Concise summary of the problem.
final
- recommendation → String
-
Actionable recommendation and guidance to remediate the issue.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → CodeReviewSeverity
-
Severity level of the finding.
final
Methods
-
compareTo(
CodeReviewFinding other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override