instance property

The default instance of JcCryptoHashingPlatform to use.

Defaults to MethodChannelJcCryptoHashing.

Implementation

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

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

Implementation

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