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