instance property
UniqueDeviceIdentifierPlatform
get
instance
The default instance of UniqueDeviceIdentifierPlatform to use.
Defaults to MethodChannelUniqueDeviceIdentifier.
Implementation
static UniqueDeviceIdentifierPlatform get instance => _instance;
set
instance
(UniqueDeviceIdentifierPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends UniqueDeviceIdentifierPlatform when they register themselves.
Implementation
static set instance(UniqueDeviceIdentifierPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}