instance property

EsimPlatform get instance

The default instance of EsimPlatform to use.

Defaults to MethodChannelEsim.

Implementation

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

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

Implementation

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