FixResult class

Result of an auto-fix operation.

Constructors

FixResult({required List<String> filesModified, required int keysAdded, required int keysRemoved, List<String> warnings = const [], bool isDryRun = false})
const

Properties

filesModified List<String>
Files that were modified.
final
hasChanges bool
Returns true if any changes were made (or would be made in dry run).
no setter
hashCode int
The hash code for this object.
no setterinherited
isDryRun bool
Whether this was a dry run (no actual changes).
final
keysAdded int
Number of keys added.
final
keysRemoved int
Number of keys removed (pruned).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warnings List<String>
Warnings generated during fix.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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