30 lines
676 B
Dart
30 lines
676 B
Dart
part of 'references_bloc.dart';
|
|
|
|
abstract class ReferencesState extends Equatable {
|
|
const ReferencesState();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class ReferencesInitial extends ReferencesState {}
|
|
|
|
class ReferencesLoadedState extends ReferencesState{
|
|
final List<PersonalReference> references;
|
|
const ReferencesLoadedState({required this.references});
|
|
|
|
@override
|
|
List<Object> get props => [references];
|
|
|
|
}
|
|
class ReferencesErrorState extends ReferencesState{
|
|
final String message;
|
|
const ReferencesErrorState({required this.message});
|
|
|
|
@override
|
|
List<Object> get props => [message];
|
|
}
|
|
class ReferencesLoadingState extends ReferencesState{
|
|
|
|
}
|