2023-02-01 08:03:05 +00:00
|
|
|
part of 'profile_bloc.dart';
|
|
|
|
|
|
|
|
abstract class ProfileState extends Equatable {
|
|
|
|
const ProfileState();
|
2023-02-20 07:48:24 +00:00
|
|
|
|
2023-02-01 08:03:05 +00:00
|
|
|
@override
|
|
|
|
List<Object> get props => [];
|
|
|
|
}
|
|
|
|
|
|
|
|
class ProfileInitial extends ProfileState {}
|
|
|
|
|
2023-02-20 07:48:24 +00:00
|
|
|
class ProfileLoaded extends ProfileState {
|
2023-02-01 08:03:05 +00:00
|
|
|
final ProfileInformation profileInformation;
|
2023-02-20 07:48:24 +00:00
|
|
|
const ProfileLoaded({required this.profileInformation});
|
2023-02-01 08:03:05 +00:00
|
|
|
@override
|
|
|
|
List<Object> get props => [profileInformation];
|
|
|
|
}
|
|
|
|
|
2023-02-20 07:48:24 +00:00
|
|
|
class ProfileErrorState extends ProfileState {
|
2023-02-01 08:03:05 +00:00
|
|
|
final String mesage;
|
|
|
|
const ProfileErrorState({required this.mesage});
|
2023-02-20 07:48:24 +00:00
|
|
|
@override
|
2023-02-01 08:03:05 +00:00
|
|
|
List<Object> get props => [mesage];
|
|
|
|
}
|
|
|
|
|
2023-02-20 07:48:24 +00:00
|
|
|
class ProfileLoading extends ProfileState {}
|
2023-02-01 08:03:05 +00:00
|
|
|
|
2023-02-20 07:48:24 +00:00
|
|
|
|
2023-02-27 06:26:27 +00:00
|
|
|
|