instance property

MoussaPdfPlatform get instance

The default instance of MoussaPdfPlatform to use.

Defaults to MethodChannelMoussaPdf.

Implementation

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

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

Implementation

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