instance property

SecureP256Platform get instance

The default instance of SecureP256Platform to use.

Defaults to SecureP256Channel.

Implementation

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

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

Implementation

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