instance property

The default instance of ScrollScreenshotPlatform to use.

Defaults to MethodChannelScrollScreenshot.

Implementation

static ScrollScreenshotPlatform get instance => _instance;
void instance=(ScrollScreenshotPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends ScrollScreenshotPlatform when they register themselves.

Implementation

static set instance(ScrollScreenshotPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}