instance property

The default instance of ScreenshotShieldPlatform to use.

Defaults to PigeonScreenshotShield.

Implementation

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

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

Implementation

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