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