instance property
PdfViewerPlatform
instance
The default instance of PdfViewerPlatform to use.
Defaults to MethodChannelPdfViewer
Implementation
static PdfViewerPlatform get instance => _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;
}