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