instance property

FlutterPdfKitPlatform get instance

The default instance of FlutterPdfKitPlatform to use.

Defaults to MethodChannelFlutterPdfKit.

Implementation

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

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

Implementation

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