part of 'support_details_bloc.dart';

abstract class SupportDetailsState extends Equatable {
  const SupportDetailsState();

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

// Initial state before any event is fired
class SupportDetailsInitial extends SupportDetailsState {
  const SupportDetailsInitial();
}

// Loading state while API call is in progress
class SupportDetailsLoading extends SupportDetailsState {
  const SupportDetailsLoading();
}

// Success state with fetched data
class SupportDetailsLoaded extends SupportDetailsState {
  final SupportDetailModel supportDetail;

  const SupportDetailsLoaded({required this.supportDetail});

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

// Error state with a message
class SupportDetailsError extends SupportDetailsState {
  final String message;

  const SupportDetailsError({required this.message});

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