PlanningProgress class
Emits phase transitions and a staging/build_runner heartbeat. Tests inject the clock and heartbeat starter, so they never wait on a real timer.
Constructors
- PlanningProgress({required Clock clock, required void sink(String), HeartbeatStarter startHeartbeat = _startHeartbeat})
Properties
- clock → Clock
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sink → void Function(String)
-
final
- startHeartbeat → HeartbeatStarter
-
final
Methods
-
beginStaging(
) → void -
endStaging(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
phase(
String name) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited