DoctorResult class

Aggregated result of the doctor command.

Constructors

DoctorResult({List<String> deletedFiles = const [], int regeneratedCount = 0, List<String> remainingInvalidTypeFiles = const [], bool dryRun = false, required String projectDir, String buildOutput = '', int? buildExitCode})
const

Properties

buildExitCode int?
Exit code of the build_runner process, or null if not run.
final
buildOutput String
Output from the build_runner process (stdout).
final
deletedCount int
Number of files deleted.
no setter
deletedFiles List<String>
Files that were (or would be) deleted.
final
dryRun bool
Whether this was a dry-run (no actual deletion or regeneration).
final
hashCode int
The hash code for this object.
no setterinherited
hasInvalidType bool
Whether any InvalidType occurrences remain.
no setter
health DoctorHealth
Overall health assessment.
no setter
projectDir String
The project directory that was doctored.
final
regeneratedCount int
Number of .zorphy.dart files regenerated after build_runner.
final
remainingInvalidTypeFiles List<String>
Files still containing 'InvalidType' after regeneration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
JSON-serializable map for --json output.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited