part of 'problem_detail_bloc.dart';

abstract class ProblemDetailState extends Equatable {
  const ProblemDetailState();
}

class ProblemDetailInitial extends ProblemDetailState {
  @override
  List<Object> get props => [];
}

class ProblemDetailLoadingError extends ProblemDetailState {
  final dynamic exception;

  ProblemDetailLoadingError({this.exception});

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

class GetProblemDetailSuccessState extends ProblemDetailState {
  final ProblemDetail response;

  GetProblemDetailSuccessState({required this.response});
  @override
  List<Object> get props => [response];
}
