part of 'recipe_detail_cubit.dart';

abstract class RecipeDetailState extends Equatable {
  const RecipeDetailState();

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

class RecipeDetailInitial extends RecipeDetailState {}

class RecipeDetailLoading extends RecipeDetailState {}

class RecipeDetailSucces extends RecipeDetailState {
  final RecipeDetail recipeDetail;
  const RecipeDetailSucces({required this.recipeDetail});

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

class RecipeDetailFailure extends RecipeDetailState {
  final String message;

  RecipeDetailFailure({this.message = ""});

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