instance property

SimpleRsa3Platform get instance

The default instance of SimpleRsa3Platform to use.

Defaults to MethodChannelSimpleRsa3.

Implementation

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

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

Implementation

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