passo_mobile_app/lib/bloc/hobbies/hoobies_state.dart

30 lines
652 B
Dart
Raw Normal View History

part of 'hoobies_bloc.dart';
abstract class HobbiesState extends Equatable {
const HobbiesState();
@override
List<Object> get props => [];
}
class HoobiesInitial extends HobbiesState {}
class HobbiesLoadedState extends HobbiesState{
final List<SkillsHobbies> skillsAndHobbies;
const HobbiesLoadedState({required this.skillsAndHobbies});
@override
List<Object> get props => [skillsAndHobbies];
}
class HobbiesErrorState extends HobbiesState{
final String message;
const HobbiesErrorState({required this.message});
@override
List<Object> get props => [message];
}
class HobbiesLoadingState extends HobbiesState{
}