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