instance property

GvPrintPluginPlatform get instance

The default instance of GvPrintPluginPlatform to use.

Defaults to MethodChannelGvPrintPlugin.

Implementation

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

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

Implementation

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