Files
unionflow-server-api/unionflow/unionflow-mobile-apps/lib/features/profile/presentation/bloc/profile_state.dart
dahoud b1957c1c81 feat(unionflow): ajout Spec-Kit, constitution, mission mutuelles
- 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
2026-02-27 14:41:07 +00:00

53 lines
1.0 KiB
Dart

part of 'profile_bloc.dart';
abstract class ProfileState extends Equatable {
const ProfileState();
@override
List<Object?> get props => [];
}
class ProfileInitial extends ProfileState {
const ProfileInitial();
}
class ProfileLoading extends ProfileState {
const ProfileLoading();
}
class ProfileLoaded extends ProfileState {
final MembreCompletModel membre;
const ProfileLoaded(this.membre);
@override
List<Object?> get props => [membre];
}
class ProfileUpdating extends ProfileState {
final MembreCompletModel membre;
const ProfileUpdating(this.membre);
@override
List<Object?> get props => [membre];
}
class ProfileUpdated extends ProfileState {
final MembreCompletModel membre;
const ProfileUpdated(this.membre);
@override
List<Object?> get props => [membre];
}
class ProfileError extends ProfileState {
final String message;
const ProfileError(this.message);
@override
List<Object?> get props => [message];
}
class ProfileNotFound extends ProfileState {
const ProfileNotFound();
}