instance property

ImageClipboardPlatform get instance

The default instance of ImageClipboardPlatform to use.

Defaults to MethodChannelImageClipboard.

Implementation

static ImageClipboardPlatform get instance => _instance;
set instance (ImageClipboardPlatform instance)

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

Implementation

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