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