instance property

The default instance of PdfViewerPlatform to use.

Defaults to MethodChannelPdfViewer

Implementation

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

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

Implementation

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