mirrored_repositories/Expenses_Tracker_App/lib/bloc
part of 'get_expenses_bloc.dart';

sealed class GetExpensesState extends Equatable {
  const GetExpensesState();

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

final class GetExpensesInitial extends GetExpensesState {}

final class GetExpensesFailure extends GetExpensesState {}

final class GetExpensesLoading extends GetExpensesState {}

final class GetExpensesSuccess extends GetExpensesState {
  final List<Expense> expenses;

  const GetExpensesSuccess(this.expenses);

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

class GetExpensesLoaded extends GetExpensesState {
  final Expense expenses;
  const GetExpensesLoaded(this.expenses);

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

class GetExpensesUpdated extends GetExpensesState {}

class GetExpensesDelete extends GetExpensesState {}
