instance property

AesEncDecPlatform get instance

The default instance of AesEncDecPlatform to use.

Defaults to MethodChannelAesEncDec.

Implementation

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

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

Implementation

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