print order
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import 'package:dartz/dartz.dart';
|
||||
import 'package:dartz/dartz.dart' hide Order;
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
import 'package:print_bluetooth_thermal/print_bluetooth_thermal.dart';
|
||||
|
||||
import '../../common/api/api_failure.dart';
|
||||
import '../../common/function/app_function.dart';
|
||||
import '../order/order.dart';
|
||||
|
||||
part 'printer.freezed.dart';
|
||||
|
||||
|
||||
@@ -14,4 +14,9 @@ abstract class IPrinterRepository {
|
||||
Printer printer,
|
||||
List<int> printValue,
|
||||
);
|
||||
|
||||
Future<Either<PrinterFailure, Unit>> printStruckOrder({required Order order});
|
||||
Future<Either<PrinterFailure, Unit>> printStruckSaveOrder({
|
||||
required Order order,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user