ComparedState enum

Declared in the order a report ranks them: the top row should be the thing most likely to be a mistake.

Inheritance
Available extensions

Values

broke → const ComparedState

Renders on base, throws on head. The most valuable output in the tool.

failed → const ComparedState

Neither side renders.

wasBroken → const ComparedState

Throws on base, renders on head — already broken before this branch.

added → const ComparedState

Only on head.

removed → const ComparedState

Only on base.

changed → const ComparedState
same → const ComparedState

Compared and identical.

skipped → const ComparedState

Not compared, because nothing it reads differs between the two checkouts. Indistinguishable from same in truth, and worth its own name so a report can say how much work it did not do.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isFinding → bool
True for the states worth drawing attention to. same and skipped mean "nothing to see", and a list that highlights those does not get read to the end.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<ComparedState>
A constant List of the values in this enum, in order of their declaration.