instance property

EsimcheckerPlatform get instance

The default instance of EsimcheckerPlatform to use.

Defaults to MethodChannelEsimchecker.

Implementation

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

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

Implementation

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