instance property

AesEncryptFilePlatform get instance

The default instance of AesEncryptFilePlatform to use.

Defaults to MethodChannelAesEncryptFile.

Implementation

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

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

Implementation

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