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