instance property
BluetoothPrinterPlatform
get
instance
The default instance of BluetoothPrinterPlatform to use.
Defaults to MethodChannelBluetoothPrinter.
Implementation
static BluetoothPrinterPlatform get instance => _instance;
set
instance
(BluetoothPrinterPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends BluetoothPrinterPlatform when they register themselves.
Implementation
static set instance(BluetoothPrinterPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}