instance property

EcdhPluginPlatform get instance

The default instance of EcdhPluginPlatform to use.

Defaults to MethodChannelEcdhPlugin.

Implementation

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

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

Implementation

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