TrustedTimePlatform class abstract

The common interface for all platform-specific implementations of TrustedTime.

This layer abstracts the native hardware-level calls (like monotonic uptime) required to maintain a secure time anchor across different operating systems.

Inheritance
  • Object
  • PlatformInterface
  • TrustedTimePlatform

Constructors

TrustedTimePlatform()
Constructs a TrustedTimePlatform.

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

getPlatformVersion() Future<String?>
Returns the native platform's version string.
getUptimeMs() Future<int?>
Retrieves the monotonic system uptime in milliseconds.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setClockTamperCallback(void callback()) → void
Registers a native listener for system clock manipulation events.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance TrustedTimePlatform
The active platform-specific implementation instance.
getter/setter pair