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