instance property

AbrevvaCryptoPlatform get instance

The default instance of AbrevvaCryptoPlatform to use.

Defaults to MethodChannelAbrevvaCrypto.

Implementation

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

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

Implementation

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