instance property

ZywellPrinterPlatform get instance

The default instance of ZywellPrinterPlatform to use.

Defaults to MethodChannelZywellPrinter.

Implementation

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

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

Implementation

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