instance property

ReadpdfPlatform get instance

The default instance of ReadpdfPlatform to use.

Defaults to MethodChannelReadpdf.

Implementation

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

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

Implementation

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