instance property

PdfSpliternPlatform get instance

The default instance of PdfSpliternPlatform to use.

Defaults to MethodChannelPdfSplitern.

Implementation

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

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

Implementation

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