part of 'chart_bloc.dart';

sealed class ChartEvent extends Equatable {
  const ChartEvent();

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

final class ChartTransactionsLoad extends ChartEvent {
  final List<Transaction> transactions;
  const ChartTransactionsLoad(this.transactions);

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

final class ChartCategoriesLoad extends ChartEvent {
  final List<Category> categories;
  const ChartCategoriesLoad(this.categories);

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

final class ChartNextYear extends ChartEvent {}
final class ChartPreviousYear extends ChartEvent {}
