instance property

IminPrinterPlatform get instance

The default instance of IminPrinterPlatform to use.

Defaults to MethodChannelIminPrinter.

Implementation

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

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

Implementation

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