ClockOffsetEstimate class final

One accepted estimate of a peer's clock relative to ours.

Constructors

ClockOffsetEstimate({required double offset, required double uncertainty, required double remoteTime, required double sampledAt})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
offset → double
Seconds to add to a timestamp in the peer's clock domain to map it into ours.
final
remoteTime → double
The peer's clock at the midpoint of its dwell, (t1 + t2) / 2.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampledAt → double
Local clock when this estimate was accepted.
final
uncertainty → double
Error bound on offset, as the full round-trip time of the probe this estimate came from.
final

Methods

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

Operators

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