part of 'education_bloc.dart'; abstract class EducationState extends Equatable { const EducationState(); @override List get props => []; } class EducationInitial extends EducationState {} class EducationalBackgroundLoadedState extends EducationState { final List attachmentCategory; final List educationalBackground; const EducationalBackgroundLoadedState( {required this.educationalBackground, required this.attachmentCategory}); @override List get props => [educationalBackground]; } class EducationalBackgroundErrorState extends EducationState { final String message; const EducationalBackgroundErrorState({required this.message}); @override List get props => [message]; } class EducationalBackgroundLoadingState extends EducationState {} ////Add class AddEducationState extends EducationState { final List schools; final List programs; final List honors; const AddEducationState( {required this.honors, required this.programs, required this.schools}); @override List get props => [schools, programs, honors]; } ////Edit class EditEducationState extends EducationState { final EducationalBackground educationalBackground; final List schools; final List programs; final List honors; const EditEducationState({ required this.educationalBackground, required this.honors, required this.programs, required this.schools, }); } //// Added State class EducationAddedState extends EducationState { final Map response; const EducationAddedState({required this.response}); @override List get props => [response]; } //// Edited State class EditedEducationState extends EducationState { final Map response; const EditedEducationState({required this.response}); @override List get props => [response]; } ////deleted State class EducationDeletedState extends EducationState { final bool success; const EducationDeletedState({required this.success}); @override List get props => [success]; } ////Attachment AddedState class EducationAttachmentAddedState extends EducationState { final Map response; const EducationAttachmentAddedState({required this.response}); } ////Attachment Deleted State State class EducationAttachmentDeletedState extends EducationState { final bool success; const EducationAttachmentDeletedState({required this.success}); @override List get props => [success]; }