PrinterManager class

Properties

bluetoothPrinterConnector BluetoothPrinterConnector
final
currentStatusBT BTStatus
no setter
currentStatusTCP TCPStatus
no setter
currentStatusUSB USBStatus
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateBluetooth Stream<BTStatus>
no setter
stateTCP Stream<TCPStatus>
no setter
stateUSB Stream<USBStatus>
no setter
tcpPrinterConnector TcpPrinterConnector
final
usbPrinterConnector UsbPrinterConnector
final

Methods

connect({required PrinterType type, required BasePrinterInput model}) Future<bool>
disconnect({required PrinterType type, int? delayMs}) Future<bool>
discovery({required PrinterType type, bool isBle = false, TcpPrinterInput? model}) Stream<PrinterDevice>
getDefaultPrinter({PrinterType type = PrinterType.usb}) Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send({required PrinterType type, required List<int> bytes}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance PrinterManager
no setter