OtherPrinterManager class

Properties

devicesStream Stream<List<Printer>>
no setter
hashCode int
The hash code for this object.
no setterinherited
refresher StreamSubscription?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscription StreamSubscription?
getter/setter pair

Methods

connect(Printer device) Future<bool>
convertImageToGrayscale(Uint8List? value) Future
disconnect(Printer device) Future<void>
getPrinters({Duration refreshDuration = const Duration(seconds: 5), List<ConnectionType> connectionTypes = const [ConnectionType.BLE, ConnectionType.USB]}) → void
isConnected(Printer device) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printData(Printer printer, List<int> bytes, {bool longData = false}) Future<void>
startScan() Future<void>
startUsbScan({Duration refreshDuration = const Duration(seconds: 5)}) Future
stopScan({bool stopBle = true, bool stopUsb = true}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

channelName String
getter/setter pair
instance OtherPrinterManager
no setter