30 lines
652 B
Dart
30 lines
652 B
Dart
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{
|
|
|
|
}
|