instance property

The default instance of VoltronScreenInfoPlatform to use.

Defaults to MethodChannelVoltronScreenInfo.

Implementation

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

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

Implementation

static set instance(VoltronScreenInfoPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}