instance property
TrustedTimePlatform
get
instance
The active platform-specific implementation instance.
Defaults to MethodChannelTrustedTime, which covers Android and iOS.
Implementation
static TrustedTimePlatform get instance => _instance;
set
instance
(TrustedTimePlatform instance)
Sets the active platform implementation instance.
This should be called by the platform-specific registration code (e.g., in a Windows or Web plugin implementation).
Implementation
static set instance(TrustedTimePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}