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