instance property

EsimManagerPlatform get instance

The default instance of EsimManagerPlatform to use.

Defaults to MethodChannelEsimManager.

Implementation

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

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

Implementation

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