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