part of 'learning_development_bloc.dart'; abstract class LearningDevelopmentState extends Equatable { const LearningDevelopmentState(); @override List get props => []; } class LearningDevelopmentInitial extends LearningDevelopmentState {} class LearningDevelopmentLoadedState extends LearningDevelopmentState { final List attachmentCategory; final List learningsAndDevelopment; const LearningDevelopmentLoadedState( {required this.learningsAndDevelopment, required this.attachmentCategory}); @override List get props => [learningsAndDevelopment]; } class LearningDevelopmentLoadingState extends LearningDevelopmentState {} ////added State class LearningDevelopmentAddedState extends LearningDevelopmentState { final Map response; const LearningDevelopmentAddedState({required this.response}); @override List get props => [response]; } ////Updated State class LearningDevelopmentUpdatedState extends LearningDevelopmentState { final Map response; const LearningDevelopmentUpdatedState({required this.response}); @override List get props => [response]; } //// Deleted State class DeleteLearningDevelopmentState extends LearningDevelopmentState { final bool success; const DeleteLearningDevelopmentState({required this.success}); @override List get props => [success]; } ////Update State class LearningDevelopmentUpdatingState extends LearningDevelopmentState { final List types; final List topics; final LearningDevelopmentType training; final LearningDevelopement learningDevelopement; final Agency currentConductedBy; final Agency? currentSponsor; final List conductedBy; final List sponsorAgencies; final List agencyCategory; final List countries; final List regions; final List provinces; final List barangay; final List cities; final Region? currentRegion; final Country currentCountry; final Province? currentProvince; final CityMunicipality? currentCity; final Barangay? currentBarangay; final bool overseas; const LearningDevelopmentUpdatingState( {required this.currentBarangay, required this.cities, required this.barangay, required this.provinces, required this.types, required this.topics, required this.training, required this.learningDevelopement, required this.currentConductedBy, required this.currentSponsor, required this.conductedBy, required this.sponsorAgencies, required this.agencyCategory, required this.countries, required this.regions, required this.currentRegion, required this.currentCountry, required this.currentProvince, required this.currentCity, required this.overseas}); } ////Adding State class LearningDevelopmentAddingState extends LearningDevelopmentState { final List types; final List topics; final List conductedBy; final List sponsorAgencies; final List countries; final List regions; final List agencyCategory; const LearningDevelopmentAddingState( {required this.types, required this.topics, required this.countries, required this.regions, required this.conductedBy, required this.sponsorAgencies, required this.agencyCategory}); } class LearningDevelopmentErrorState extends LearningDevelopmentState { final String message; const LearningDevelopmentErrorState({required this.message}); } ////Attachment AddedState class LearningDevAttachmentAddedState extends LearningDevelopmentState { final Map response; const LearningDevAttachmentAddedState({required this.response}); @override List get props => [response]; } ////Attachment Deleted State State class LearningDevAttachmentDeletedState extends LearningDevelopmentState { final bool success; const LearningDevAttachmentDeletedState({required this.success}); @override List get props => [success]; } class LearningAndDevelopmentAttachmentViewState extends LearningDevelopmentState { final String filename; final String fileUrl; const LearningAndDevelopmentAttachmentViewState({required this.fileUrl, required this.filename}); } class LearningDevelopmentAttachmentShareState extends LearningDevelopmentState{ final bool success; const LearningDevelopmentAttachmentShareState({required this.success,}); }