OrbClock class

Monotonic shared clock for all ThinkingOrb instances.

Ensures all orbs mounted across the app remain in exact phase with one another, matching the web performance.now() clock semantics.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

elapsedSeconds → double
Current elapsed monotonic time in seconds.
no setter

Static Methods

freeze([double time = 0.6]) → void
Freezes time to a specific value for testing or snapshot rendering.
reset() → void
Resets the stopwatch clock back to 0.
unfreeze() → void
Resumes the monotonic stopwatch clock.