instance property

SimPhonePlusPlatform get instance

The default instance of SimPhonePlusPlatform to use.

Defaults to MethodChannelSimPhonePlus.

Implementation

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

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

Implementation

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