RongtaPrinterPlatform class abstract

An abstract class representing the Rongta printer platform.

Implementers

Constructors

RongtaPrinterPlatform()
Constructs a RongtaPrinterPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init({required String macAddress, OnPrinterConnectionChange? onPrinterConnectionChange, OnPrinterOperationChange? onDocPrinted}) Future<void>
Initializes the Rongta printer with the provided parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print({required Uint8List doc}) Future<Uint8List>
Prints a document using the Rongta printer.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance RongtaPrinterPlatform
The instance of the RongtaPrinterPlatform implementation to be used.
getter/setter pair