instance property

The default instance of NativeSecurityKitPlatform to use.

Defaults to MethodChannelNativeSecurityKit.

Implementation

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

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

Implementation

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