DurationEstimator class

Estimates build durations from .udara_build_history.json, so progress and ETA reflect how long this project's builds actually take.

Constructors

DurationEstimator(List<Map<String, dynamic>> history)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

job(BuildJob job) → Duration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
target(String client, String type) → Duration
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

defaults → const Map<String, Duration>
Used until the project has history for a build type.