instance property
XorEncryptionPlatform
instance
The default instance of XorEncryptionPlatform to use.
Defaults to MethodChannelXorEncryption.
Implementation
static XorEncryptionPlatform get instance => _instance;
Platform-specific implementations should set this with their own platform-specific class that extends XorEncryptionPlatform when they register themselves.
Implementation
static set instance(XorEncryptionPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}