instance property

BixolonPrinterPlatform get instance

The default instance of BixolonPrinterPlatform to use.

Defaults to MethodChannelBixolonPrinter.

Implementation

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

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

Implementation

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