printer receipt

This commit is contained in:
efrilm
2025-11-04 22:13:15 +07:00
parent a87b62ca9f
commit 1b24bae23a
32 changed files with 4177 additions and 75 deletions
@@ -6,4 +6,8 @@ abstract class IPrinterRepository {
Future<Either<PrinterFailure, bool>> isBluetoothEnabled();
Future<Either<PrinterFailure, List<BluetoothInfo>>>
getPairedBluetoothDevices();
Future<Either<PrinterFailure, Unit>> createPrinter(Printer printer);
Future<Either<PrinterFailure, Unit>> updatePrinter(Printer printer, int id);
Future<Either<PrinterFailure, Unit>> deletePrinter(int id);
Future<Either<PrinterFailure, Printer>> getPrinterByCode(String code);
}