ArchitectureScanResult class
Complete result emitted by the Architecture Advisor.
Constructors
-
ArchitectureScanResult({required ArchitectureScanScope scope, required String targetScopeId, required bool isSuccess, required List<
ArchitectureFinding> findings, required MonorepoStructuralModel structuralModel, required String summary, required int durationMs, required DateTime timestamp, String? errorMessage}) -
const
- ArchitectureScanResult.failure({required ArchitectureScanScope scope, required String targetScopeId, required String errorMessage, required MonorepoStructuralModel structuralModel, int durationMs = 0, DateTime? timestamp})
-
factory
Properties
- durationMs → int
-
Duration in milliseconds.
final
- errorMessage → String?
-
Error message if scan failed.
final
-
findings
→ List<
ArchitectureFinding> -
Structured architectural findings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Success indicator.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → ArchitectureScanScope
-
Scope evaluated.
final
- structuralModel → MonorepoStructuralModel
-
Structural model snapshot.
final
- summary → String
-
High-level executive summary.
final
- targetScopeId → String
-
Target scope identifier (package name or 'whole_project').
final
- timestamp → DateTime
-
Timestamp of scan execution.
final
Methods
-
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.
inherited