instance property

The default instance of EncryptDecryptPlusPlatform to use.

Defaults to MethodChannelEncryptDecryptPlus.

Implementation

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

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

Implementation

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