instance property

SodiumPlatform instance

Returns the currently loaded native instance of this plugin

Implementation

static SodiumPlatform get instance => _instance;
void instance=(SodiumPlatform instance)

Overrides or initializes the plugin with the given instance.

Implementation

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