2023-02-01 08:03:05 +00:00
|
|
|
part of 'profile_bloc.dart';
|
|
|
|
|
|
|
|
abstract class ProfileEvent extends Equatable {
|
|
|
|
const ProfileEvent();
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object> get props => [];
|
|
|
|
}
|
|
|
|
|
2023-02-27 06:26:27 +00:00
|
|
|
class LoadProfile extends ProfileEvent {
|
|
|
|
final String token;
|
|
|
|
final int userID;
|
|
|
|
const LoadProfile({required this.token, required this.userID});
|
|
|
|
@override
|
|
|
|
List<Object> get props => [token, userID];
|
2023-02-01 08:03:05 +00:00
|
|
|
}
|
|
|
|
|
2023-02-27 06:26:27 +00:00
|
|
|
class LoadProfileInformation extends ProfileEvent {
|
2023-02-01 08:03:05 +00:00
|
|
|
@override
|
|
|
|
List<Object> get props => [];
|
|
|
|
}
|
2023-05-22 02:23:56 +00:00
|
|
|
class GetPrimaryBasicInfo extends ProfileEvent{
|
|
|
|
final Profile primaryBasicInformation;
|
|
|
|
const GetPrimaryBasicInfo({required this.primaryBasicInformation});
|
|
|
|
}
|
|
|
|
class LoadBasicPrimaryInfo extends ProfileEvent{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class ShowPrimaryInfoEditForm extends ProfileEvent{
|
|
|
|
final String token;
|
|
|
|
const ShowPrimaryInfoEditForm({required this.token});
|
|
|
|
}
|
|
|
|
class EditBasicProfileInformation extends ProfileEvent{
|
|
|
|
final Profile profileInformation;
|
|
|
|
final int profileId;
|
|
|
|
final String token;
|
|
|
|
final int? genderId;
|
|
|
|
final int? indigencyId;
|
|
|
|
final int? disabilityId;
|
|
|
|
final int? religionId;
|
|
|
|
final int? ethnicityId;
|
|
|
|
const EditBasicProfileInformation({required this.disabilityId,required this.ethnicityId, required this.genderId, required this.indigencyId, required this.profileId,required this.profileInformation,required this.religionId,required this.token});
|
|
|
|
}
|
2023-02-01 08:03:05 +00:00
|
|
|
|
2023-03-02 00:40:47 +00:00
|
|
|
|
|
|
|
|