instance property

SystemStatusPlatform get instance

The default instance of SystemStatusPlatform to use.

Defaults to MethodChannelSystemStatus.

Implementation

static SystemStatusPlatform get instance => _instance;
set instance (SystemStatusPlatform instance)

Platform-specific plugins should set this with their own platform-specific class that extends SystemStatusPlatform when they register themselves.

Implementation

static set instance(SystemStatusPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}