core library
Flutter-independent clock engine and injectable interfaces.
Classes
- AnchorRecord
- A version-2 persisted UTC anchor and the evidence needed to check a restore.
- AnchorStore
- Reads and writes the serialized record for one trusted time anchor.
- BootEpoch
- Identifies a boot session within an installation and monotonic clock domain.
- BootEpochProvider
- Supplies boot identities for clocks that support restart validation.
- CancellationSignal
- Cooperative cancellation. Register resource cleanup before starting I/O.
- ClockCapabilities
- ClockSnapshot
- HttpsDateSource
- Coarse HTTPS Date time. Requires HEAD, no-store, and CORS-exposed headers.
- MonotonicClock
- NtpSource
- PersistenceConfig
- Enables secure anchor storage under an application-specific namespace.
- ScheduledTask
- SerializingAnchorStore
- Shares one active and at most one pending write per backend object/isolate.
- StopwatchClock
- Conservative portable fallback; session scoped and invalidated on suspension.
- SyncOutcome
- SystemWallClockReader
- Used only for informational diagnostics; never to advance a UTC anchor.
- TimeEvent
- TimeReading
- TimerScheduler
- TimeSample
- TimeScheduler
- TimeSource
- TimeStatus
- TrueTimeConfig
- TrueTimeEngine
- UnknownBootEpochProvider
- An epoch provider that makes no continuity claim across process restarts.
- WallClockReader
- WallClockSample
Enums
- TimeAvailability
- Whether the current anchor satisfies the configured read policy.
- TimeEventKind
Functions
-
createPlatformClock(
) → MonotonicClock -
parseHttpDate(
String? value) → DateTime -
trustPolicyFingerprint(
List< String> sourceKeys, List<Object?> policy) → String - Hashes the source configuration keys and policy values for restore checks.