instance property
ScreenshotBlockerPlatform
get
instance
The default instance of ScreenshotBlockerPlatform to use.
Defaults to MethodChannelScreenshotBlocker.
Implementation
static ScreenshotBlockerPlatform get instance => _instance;
set
instance
(ScreenshotBlockerPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends ScreenshotBlockerPlatform when they register themselves.
Implementation
static set instance(ScreenshotBlockerPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}