- Config Spec-Kit pour Spec-Driven Development - CONSTITUTION.md + .specify/memory/constitution.md - Commandes Cursor /speckit.*, règles projet - Mission: associations + mutuelles d'épargne et de financement - .gitignore: versionner config spec-kit unionflow Made-with: Cursor
28 lines
612 B
Dart
28 lines
612 B
Dart
part of 'profile_bloc.dart';
|
|
|
|
abstract class ProfileEvent extends Equatable {
|
|
const ProfileEvent();
|
|
|
|
@override
|
|
List<Object?> get props => [];
|
|
}
|
|
|
|
/// Charge le profil du membre courant
|
|
class LoadMyProfile extends ProfileEvent {
|
|
final String email;
|
|
const LoadMyProfile(this.email);
|
|
|
|
@override
|
|
List<Object?> get props => [email];
|
|
}
|
|
|
|
/// Met à jour le profil
|
|
class UpdateMyProfile extends ProfileEvent {
|
|
final String membreId;
|
|
final MembreCompletModel membre;
|
|
const UpdateMyProfile({required this.membreId, required this.membre});
|
|
|
|
@override
|
|
List<Object?> get props => [membreId, membre];
|
|
}
|