instance property

PdfreadxPlatform get instance

The default instance of PdfreadxPlatform to use.

Defaults to MethodChannelPdfreadx.

Implementation

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

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

Implementation

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