instance property

RamInfoPlatform get instance

The default instance of RamInfoPlatform to use.

Defaults to MethodChannelRamInfo.

Implementation

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

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

Implementation

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