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());
}
