StartupTimelineEvent class
Typed event emitted on FixitWebViewController.diagnosticsStream once T5 is recorded.
Use viewId to correlate with the correct FixitWebViewController when multiple WebViews are active simultaneously.
Constructors
-
StartupTimelineEvent({required int viewId, required List<
StartupMilestone> milestones, required String rawTimeline}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
milestones
→ List<
StartupMilestone> -
Ordered list of milestones from T0 to T5.
A milestone is absent if it was not reached (e.g. T5 before page loaded).
final
- rawTimeline → String
-
Raw human-readable timeline string produced by
FixitProfiler.buildTimeline().final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalStartupDuration → Duration?
-
Duration from T0 (Dart widget inserted) to T5 (page finished), or null
if either milestone is missing.
no setter
- viewId → int
-
Identifies which WebView instance this timeline belongs to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited