LiveSettleResult class

What a bounded wall-clock settle observed.

Constructors

LiveSettleResult({required bool settled, required int frames, required int forcedFrames, required bool framesEnabled, required Duration elapsed, int unansweredFrames = 0})

Properties

elapsed → Duration
final
forcedFrames → int
Frames this settle had to force because the window was hidden.
final
frames → int
Frames the engine drew while this settled — drawn, not asked for. A wait the per-frame cap ended is one of unansweredFrames instead.
final
framesEnabled → bool
Whether the platform was granting frames when the settle ended. False explains otherwise-mystifying behavior to whoever reads the step: the window is hidden or occluded, and every frame here was forced.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settled → bool
False means the budget ran out with work still pending — an infinite animation, a spinner. Reported, never thrown: the caller always gets its observation back.
final
unansweredFrames → int
Frames this settle asked for that the engine never drew.
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