ComparedHalf class
What one half of a comparison did.
Not the writer's ComparisonResult/ScenarioResults, deliberately: those
exist to conclude a run and carry things a file cannot — the elapsed
stopwatch, a live item list. This holds what the file says and nothing it
would have to invent.
Constructors
Properties
-
because
→ Map<
String, int> -
Why the skip rule could not answer what it could not answer — one clause
naming a path, and how many rows carried it.
final
-
counts
→ Map<
ComparedState, int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ms → int
-
final
- note → String?
-
Why this half has nothing to say, when it has nothing to say.
final
-
packages
→ List<
String> -
Which packages this half covered, worktree-relative and in the order
they were compared.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipped → int
-
Rows the skip rule answered without looking at a picture.
final
- worked → int
-
What the half actually did, in its own unit — the previews half counts
renders and the scenario half replays, up to two per row because a
row has two sides and a side already in the store costs nothing. Named
per half in the file (
renderedandreplayed) and read into one field here, because the question the two numbers answer is the same one: did the skip rule and the store earn their keep. A scenario half written before replays were filed saysraninstead — whole scenarios, replayed on both sides.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
Static Methods
-
fromJson(
Map< String, Object?> json) → ComparedHalf