openCashDrawer method
Opens the cash drawer connected to the specified printer.
identifier
: A unique identifier for the printer.interfaceType
: The connection interface type (e.g., USB, Bluetooth).
Throws an UnimplementedError if the method is not implemented by the platform.
Implementation
Future<void> openCashDrawer(String identifier, String interfaceType) {
throw UnimplementedError('openCashDrawer() has not been implemented.');
}