part of 'scan_history_details_bloc.dart';

abstract class ScanHistoryDetailsState extends Equatable {
  const ScanHistoryDetailsState();

  @override
  List<Object?> get props => [];
}

class ScanHistoryDetailsInitial extends ScanHistoryDetailsState {}

class ScanHistoryDetailsLoading extends ScanHistoryDetailsState {}

class ScanHistoryDetailsLoaded extends ScanHistoryDetailsState {
  final ScanHistoryDetails details;

  const ScanHistoryDetailsLoaded(this.details);

  @override
  List<Object?> get props => [details];
}

class ScanHistoryDetailsError extends ScanHistoryDetailsState {
  final String message;

  const ScanHistoryDetailsError(this.message);

  @override
  List<Object?> get props => [message];
}
