instance property

JailGuardPlatform get instance

The default instance of JailGuardPlatform to use.

Defaults to MethodChannelJailGuard.

Implementation

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

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

Implementation

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