ComparisonPhase class
One timed phase of a comparison.
name is one of a small vocabulary: checkout, previews.plan,
previews.compile, previews.render, previews.compare,
scenarios.plan, scenarios.replay, scenarios.alone,
scenarios.compare, scenarios.filing, viewer, export, report, sweep. A reader meeting
a name it does not know should show it rather than drop it.
Constructors
- ComparisonPhase({required String name, required int ms, String? package, String? side})
-
const
-
ComparisonPhase.fromJson(Map<
Object?, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ms → int
-
final
- name → String
-
final
- package → String?
-
The package it was spent on, where it was spent on one.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- side → String?
-
baseorhead, where the phase ran once per side.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited