BridgeFreshness class
The outcome of checkBridgeFreshness.
Constructors
-
BridgeFreshness({required List<
String> checked, required List<StaleBridge> stale, required List<String> errors, List<OrphanedBridge> orphaned = const [], String? orphanScanSkipped}) -
Creates a freshness report.
const
Properties
-
checked
→ List<
String> -
Package-relative paths of every file the generator produced.
final
-
errors
→ List<
String> -
Generation errors. A report with errors has not measured anything.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFresh → bool
-
True only when the generator ran cleanly, nothing is stale, and no
committed generated file is unaccounted for.
no setter
-
orphaned
→ List<
OrphanedBridge> -
Committed generated files that no run writes.
final
- orphanScanSkipped → String?
-
Why the orphan scan did not run, or null when it did.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stale
→ List<
StaleBridge> -
The files whose committed copy does not match.
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