printReceipt method
Prints a receipt on a specified printer using the provided print data.
identifier
: A unique identifier for the printer.interfaceType
: The connection interface type (e.g., USB, Bluetooth).printData
: The data to be printed on the receipt.
Throws an UnimplementedError if the method is not implemented by the platform.
Implementation
Future<void> printReceipt(
String identifier, String interfaceType, Map<String, dynamic> printData) {
throw UnimplementedError('printReceipt() has not been implemented.');
}