instance property

EsignPluginPlatform get instance

The default instance of EsignPluginPlatform to use.

Defaults to MethodChannelEsignPlugin.

Implementation

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

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

Implementation

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