WindowPrinterManager class

Properties

devicesStream Stream<List<Printer>>
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
subscription StreamSubscription?
getter/setter pair

Methods

connect(Printer device) Future<bool>
getPrinters({Duration refreshDuration = const Duration(seconds: 5), List<ConnectionType> connectionTypes = const [ConnectionType.BLE, ConnectionType.USB]}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printData(Printer device, List<int> bytes, {bool longData = false}) Future<void>
startscan() Future<void>
stopscan() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance WindowPrinterManager
no setter
isInitialized bool
getter/setter pair

Static Methods

init() → dynamic