instance property

The default instance of CryptoProFlutterPlatform to use.

Defaults to MethodChannelCryptoProFlutter.

Implementation

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

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

Implementation

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