TrustedTimeSource class abstract
Optional seam for a caller-supplied trusted time source (e.g. an NTP round-trip, or a server timestamp from any authenticated request the app already makes) — deliberately not implemented by this package (no network dependency baked in, same reasoning as every other seam here: AnalyticsProvider/CrashReporter/PurchaseSeam).
When present, TrustedClockService uses a confirmation from this to immediately re-anchor past a quarantined ClockJudgement.suspiciousForwardJump instead of waiting for the real wall clock to naturally catch back up.
Constructors
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
-
fetchTrustedNowMs(
) → Future< int?> -
Returns a confirmed-trustworthy "now" in UTC epoch milliseconds, or
nullif no trusted reading is available right now (e.g. offline). -
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