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