instance property

EncryptDecryptPlatform get instance

The default instance of EncryptDecryptPlatform to use.

Defaults to MethodChannelEncryptDecrypt.

Implementation

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

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

Implementation

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