part of 'printer_loader_bloc.dart';

@freezed
class PrinterLoaderState with _$PrinterLoaderState {
  factory PrinterLoaderState({
    required Printer printer,
    required Option<PrinterFailure> failureOption,
    @Default(false) bool isFetching,
  }) = _PrinterLoaderState;

  factory PrinterLoaderState.initial() =>
      PrinterLoaderState(printer: Printer.empty(), failureOption: none());
}
