part of 'memoranda_bloc.dart';

class MemorandaState extends Equatable {
  const MemorandaState();

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

class MemorandaInitial extends MemorandaState {}

class MemorandaLoading extends MemorandaState {}

class MemorandaLoaded extends MemorandaState {
  final List<Memoranda> memorada;
  const MemorandaLoaded(this.memorada);
  @override
  List<Object> get props => [memorada];
}

class MemorandaErrorState extends MemorandaState {
  const MemorandaErrorState(this.error);
  final String error;

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