instance property

The default instance of BluetoothPosPrinterPlatform to use.

Defaults to MethodChannelBluetoothPosPrinter.

Implementation

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

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

Implementation

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