instance property

SpenRemotePlatform get instance

The default instance of SpenRemotePlatform to use.

Defaults to MethodChannelSpenRemote.

Implementation

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

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

Implementation

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