print order

This commit is contained in:
efrilm
2025-11-07 16:29:26 +07:00
parent 4eece81eb1
commit 93560b85cb
12 changed files with 1154 additions and 49 deletions
@@ -0,0 +1,12 @@
part of 'print_struck_bloc.dart';
@freezed
class PrintStruckState with _$PrintStruckState {
factory PrintStruckState({
required Option<Either<PrinterFailure, Unit>> failureOrPrintStruck,
@Default(false) bool isPrinting,
}) = _PrintStruckState;
factory PrintStruckState.initial() =>
PrintStruckState(failureOrPrintStruck: none());
}