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