DragoUsbPrinter class
Constructors
Properties
Methods
-
close(
) → Future< bool?> - close close the connection after print with usb printer
-
connect(
int vendorId, int productId) → Future< bool?> - connect connect to a printer vai vendorId and productId
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printRawText(
String text) → Future< bool?> - printRawText print raw text
-
printText(
String text) → Future< bool?> - printText print text
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data) → Future< bool?> - write write data byte
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getUSBDeviceList(
) → Future< List< Map< >String, dynamic> > - getUSBDeviceList get list of available usb device on android